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.6 KiB

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