You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.2 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __OBJECTCURSESLOGGINGSERVICE_H_INCL__
  2. #define __OBJECTCURSESLOGGINGSERVICE_H_INCL__
  3. #include "../../cli/cliClass.h"
  4. #include "../base/basicFunctionality.h"
  5. #include "../base/basicLoggingService.h"
  6. #include "../base/basicNCursesEngine.h"
  7. #include <time.h>
  8. /**
  9. * TODO: Add class description
  10. *
  11. * @author Gagua
  12. */
  13. class objectCURSESLoggingService : public basicLoggingService, public WindowCLI
  14. {
  15. private:
  16. bool m_bLogging;
  17. char ** m_ppLines;
  18. int m_iLinesCount;
  19. public:
  20. // Constructor
  21. objectCURSESLoggingService();
  22. objectCURSESLoggingService(int x, int y, int w, int h);
  23. // Destructor
  24. ~objectCURSESLoggingService();
  25. void logMessage(CSTR Msg);
  26. void logMessage(const char * Msg);
  27. void paint(void);
  28. };
  29. // TODO: Uncomment the copy constructor when you need it.
  30. // inline objectFileLoggingService::objectFileLoggingService(const objectFileLoggingService& src)
  31. //{
  32. // // TODO: copy
  33. //}
  34. // TODO: Uncomment the assignment operator when you need it.
  35. // inline objectFileLoggingService& objectFileLoggingService::operator=(const objectFileLoggingService& rhs)
  36. //{
  37. // if (this == &rhs) {
  38. // return *this;
  39. // }
  40. //
  41. // // TODO: assignment
  42. //
  43. // return *this;
  44. //}
  45. #endif // __OBJECTFILELOGGINGSERVICE_H_INCL__