summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/procctl.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/procctl.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/procctl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/procctl.h b/noncore/apps/opie-console/procctl.h
index 5e96423..1da7c6d 100644
--- a/noncore/apps/opie-console/procctl.h
+++ b/noncore/apps/opie-console/procctl.h
@@ -19,18 +19,19 @@ struct ProcContainer {
19class ProcCtl { 19class ProcCtl {
20private: 20private:
21 ProcCtl(); 21 ProcCtl();
22public: 22public:
23 ~ProcCtl(); 23 ~ProcCtl();
24 24
25 ProcCtl* self(); 25 static ProcCtl* self();
26 int status(pid_t)const; 26 int status(pid_t)const;
27 void add( pid_t, int fd ); 27 void add( pid_t, int fd );
28 void remove( pid_t ); 28 void remove( pid_t );
29 void remove( ProcContainer ); 29 void remove( ProcContainer );
30private: 30private:
31 static void signal_handler(int); 31 static void signal_handler(int);
32 static ProcContainer* m_last; 32 static ProcContainer* m_last;
33 static ProcCtl* m_self; 33 static ProcCtl* m_self;
34
34}; 35};
35 36
36#endif 37#endif