News.h 675 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef News_H
  2. #define News_H
  3. #include <KSGScript.h>
  4. #include <Animation.h>
  5. #include <Thread.h>
  6. #include <Klient.h>
  7. #include <KSGNetwork.h>
  8. #include <UIInitialization.h>
  9. using namespace Framework;
  10. using namespace KSGScript;
  11. using namespace Network;
  12. class News : public Thread
  13. {
  14. private:
  15. KSGScriptObj* frame;
  16. HMODULE ksgsDll;
  17. Text* scriptName;
  18. Animation2D* laden;
  19. TextFeld* fehler;
  20. UIInit uiFactory;
  21. KSGClient::NewsServerClient* client;
  22. public:
  23. // Konstruktor
  24. News(UIInit& uiFactory, KSGClient::NewsServerClient* client);
  25. // Destruktor
  26. ~News();
  27. // nicht constant
  28. void rückruf(RCArray< KSGSVariable >* parameter, KSGSVariable** ret);
  29. void thread();
  30. };
  31. #endif