TeamsEditor.h 629 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #include <Text.h>
  3. #include <Server.h>
  4. #ifdef WIN32
  5. #include "../../../Datenbank/Datenbank.h"
  6. #else
  7. #include "Datenbank.h"
  8. #endif
  9. using namespace Framework;
  10. using namespace Network;
  11. class TeamsEditor
  12. {
  13. private:
  14. Text pfad;
  15. Text fehler;
  16. EdSDatenbank *db;
  17. int id;
  18. int ref;
  19. public:
  20. // Konstruktor
  21. TeamsEditor( int id, char *pf, EdSDatenbank *db );
  22. // Destruktor
  23. ~TeamsEditor();
  24. // nicht constant
  25. bool prozessMessage( SKlient *zKlient );
  26. // constant
  27. char *getLetzterFehler() const;
  28. // Reference Counting
  29. TeamsEditor *getThis();
  30. TeamsEditor *release();
  31. };