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.

52 lines
1.4 KiB

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