Diffstat (limited to 'noncore/apps/opie-console/procctl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/procctl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/procctl.h b/noncore/apps/opie-console/procctl.h index e2161f3..5e96423 100644 --- a/noncore/apps/opie-console/procctl.h +++ b/noncore/apps/opie-console/procctl.h @@ -17,10 +17,12 @@ struct ProcContainer { }; class ProcCtl { -public: +private: ProcCtl(); +public: ~ProcCtl(); + ProcCtl* self(); int status(pid_t)const; void add( pid_t, int fd ); void remove( pid_t ); @@ -28,6 +30,7 @@ public: private: static void signal_handler(int); static ProcContainer* m_last; + static ProcCtl* m_self; }; #endif |