Dialog.h 685 B

12345678910111213141516171819202122232425262728
  1. #pragma once
  2. #include "Thread.h"
  3. namespace Framework
  4. {
  5. class Text;
  6. class Schrift;
  7. class MultiplChoiceDialog
  8. {
  9. private:
  10. RCArray< Text > *entrys;
  11. Array< void* > *ids;
  12. int ref;
  13. public:
  14. DLLEXPORT MultiplChoiceDialog();
  15. DLLEXPORT ~MultiplChoiceDialog();
  16. //! Fügt eine Auswahlmöglichkeit hinzu
  17. DLLEXPORT void addChoice( const char *text, void *id );
  18. //! Zeigt den dialog an und wartet auf benutzereingabe
  19. DLLEXPORT void *anzeigen( Schrift *zSchrift );
  20. //! Reference Counting
  21. DLLEXPORT MultiplChoiceDialog *getThis();
  22. DLLEXPORT MultiplChoiceDialog *release();
  23. };
  24. }