#ifndef __SERIALPORT_H__ #define __SERIALPORT_H__ #include class SerialPort { private: HANDLE hcomm; DCB dcb; public: SerialPort(); ~SerialPort(); bool init(); void SendMessage(int number, char *message, int length, bool situation); void SendPassword(char *password, bool situation); void SendChar(char toSend); //char monitor(bool ); char SerialMonitor(); }; #endif