Mouchard.h 369 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _Mouchard_h_
  2. #define _Mouchard_h_
  3. #include "../Pattern/Singleton.h"
  4. #include <string>
  5. class Mouchard : public Singleton< Mouchard >
  6. {
  7. public:
  8. unsigned long GetMouchard();
  9. bool IsDLLValid();
  10. std::string GetExpirationDate();
  11. protected:
  12. Mouchard();
  13. friend class Singleton< Mouchard >;
  14. private:
  15. time_t mt;
  16. };
  17. #endif