X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fprocesses%2Fprocess_control.h;h=f7a47c2642b1424b225ff90a362dfe2d0378bc98;hb=de0da7f2f7958d4ba652ff2ef5c79991700141ac;hp=c6d2586176cd0a10c84f449d7b082d80e262c20e;hpb=3ea085ec301ed1399dfa1e9f3a240312dc95410b;p=feisty_meow.git diff --git a/nucleus/library/processes/process_control.h b/nucleus/library/processes/process_control.h index c6d25861..f7a47c26 100644 --- a/nucleus/library/processes/process_control.h +++ b/nucleus/library/processes/process_control.h @@ -74,19 +74,18 @@ public: private: process_implementation_hider *_ptrs; //!< our OS baggage. -#ifdef __UNIX__ +//#ifndef _MSC_VER mathematics::chaos *_rando; //!< used for process list. -#endif -#ifdef __WIN32__ - bool _use_psapi; //!< true if we should be using the PSAPI on NT and family. -#endif +//#else + //bool _use_psapi; //!< true if we should be using the PSAPI on NT and family. +//#endif bool _healthy; //!< true if construction succeeded. -#ifdef __UNIX__ +//#ifndef _MSC_VER bool get_processes_with_ps(process_entry_array &to_fill); //!< asks the ps program what processes exist. -#endif -#ifdef __WIN32__ +/* +#else // fill in our function pointers to access the kernel functions appropriate // for either NT (psapi) or 9x (toolhelp). bool initialize_psapi_support(); @@ -97,6 +96,7 @@ private: bool get_processes_with_toolhelp(process_entry_array &to_fill); //!< uses the toolhelp support for windows 9x, ME, 2000. #endif +*/ }; } //namespace.