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.

55 lines
1.6 KiB

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