Patcher.h 765 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef Patcher_H
  2. #define Patcher_H
  3. #include <Update.h>
  4. #include <Thread.h>
  5. #include <Textfeld.h>
  6. #include <Knopf.h>
  7. #include <Thread.h>
  8. #include <KSGNetwork.h>
  9. using namespace Framework;
  10. class Patcher : public Thread
  11. {
  12. private:
  13. HMODULE updateDll;
  14. UpdaterV *updater;
  15. FBalken *fortschritt;
  16. TextFeld *status;
  17. Knopf *play;
  18. bool *close;
  19. int ret;
  20. public:
  21. // Konstruktor
  22. Patcher( FBalken *fortschritt, TextFeld *status, Knopf *play, bool *close, KSGClient::PatchServerClient *client );
  23. // Destruktor
  24. ~Patcher();
  25. // nicht constant
  26. void startPatch();
  27. void thread();
  28. // constant
  29. bool läuftPatch() const;
  30. int getReturn() const;
  31. void warteAufPatch( int zeit );
  32. int getDownload() const;
  33. };
  34. #endif