home *** CD-ROM | disk | FTP | other *** search
- #include <ihandle.hpp>
- #include <ithread.hpp>
-
- #define NPIPE_NAME "\\PIPE\\ENGICS"
-
- class EngineComm
- {
- public:
- EngineComm();
- ~EngineComm();
- void sendCommand(char *s); // write s on pipe
- void setConnected() { connected = true; }
- void clearConnected() { connected = false; }
- private:
- IThread *pthr;
- IHandle hpipe;
- Boolean connected;
- };
-
-