summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/procctl.h
authorzecke <zecke>2002-10-12 00:40:14 (UTC)
committer zecke <zecke>2002-10-12 00:40:14 (UTC)
commit39b88e5809e50a4951869434b8015c55265fc495 (patch) (side-by-side diff)
treead444833b2c9fd0c672c7dfdcc99b3a33ace8b8d /noncore/apps/opie-console/procctl.h
parent0a3ffe7e5657bed4cb77d9bc23457755e2d02591 (diff)
downloadopie-39b88e5809e50a4951869434b8015c55265fc495.zip
opie-39b88e5809e50a4951869434b8015c55265fc495.tar.gz
opie-39b88e5809e50a4951869434b8015c55265fc495.tar.bz2
No does not have any public c'tor
Diffstat (limited to 'noncore/apps/opie-console/procctl.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/procctl.h5
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
@@ -8,26 +8,29 @@
#include <qmap.h>
struct ProcContainer {
pid_t pid;
int fd;
int status;
ProcContainer* prev;
};
class ProcCtl {
-public:
+private:
ProcCtl();
+public:
~ProcCtl();
+ ProcCtl* self();
int status(pid_t)const;
void add( pid_t, int fd );
void remove( pid_t );
void remove( ProcContainer );
private:
static void signal_handler(int);
static ProcContainer* m_last;
+ static ProcCtl* m_self;
};
#endif