Updater.h 438 B

1234567891011121314151617181920212223242526272829
  1. #ifndef UPDATER_H
  2. #define UPDATER_H
  3. #include <Thread.h>
  4. using namespace Framework;
  5. class ShopServer;
  6. class Updater : private Thread
  7. {
  8. private:
  9. ShopServer *shs;
  10. bool beenden;
  11. int ref;
  12. public:
  13. // Konstruktor
  14. Updater( ShopServer *ahServ );
  15. // Destruktor
  16. virtual ~Updater();
  17. // nicht constant
  18. void thread() override;
  19. // Reference Counting
  20. Updater *getThis();
  21. Updater *release();
  22. };
  23. #endif