Dialog.h 479 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "NetworkAPIProcessor.h"
  3. #include <Fenster.h>
  4. #include <UIMLView.h>
  5. class UIMLDialog : public Framework::Fenster, public NetworkAPIProcessor
  6. {
  7. private:
  8. Framework::UIMLView* view;
  9. Framework::Text name;
  10. std::function<void(UIMLDialog* self)> onClose;
  11. public:
  12. UIMLDialog(Framework::Text uiml, std::function<void(UIMLDialog* self)> onClose);
  13. ~UIMLDialog();
  14. void api(char* message) override;
  15. const Framework::Text& getName() const;
  16. };