home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
CLASS.ZIP
/
PROCESS.H
< prev
next >
Wrap
Text File
|
1993-02-13
|
1KB
|
57 lines
#ifndef PROCESS_H
#define PROCESS_H
#define INCL_DOSSEMAPHORES
#define INCL_DOSPROCESS
#include <os2.h>
#include "tree.h"
class process;
class threadTree;
class windowTree;
class threadTree:public construct, public tree
{ public:
PTIB pTIB;
process *pProcess; // Backpointer
threadTree(process *pProcess);
threadTree(threadTree *pParentNew);
virtual ~threadTree(void);
};
class process:public construct
{ public:
process(int argc, char **argv);
PPIB pPIB;
char **argv;
int argc;
threadTree *pThreadTree;
virtual ~process(void);
virtual Boolean create(void);
void doSomething(void);
void destruct(void);
};
#ifdef undefined
class construct:virtual public object
{ public:
virtual void run(void);
virtual void doSomething(void);
virtual Boolean init(void);
virtual Boolean initPre(void);
virtual Boolean create(void);
virtual Boolean initPost(void);
virtual void destructPost(void);
virtual void destructPre(void);
virtual void destruct(void);
};
#endif undefined
#endif /* !PROCESS_H */