// // Created by selim on 17.05.2022. // #ifndef AUTOCAT_GNOME_ADDNUMBERDIALOG_H #define AUTOCAT_GNOME_ADDNUMBERDIALOG_H #include "../gtkpp/Dialog.h" #include "../gtkpp/Entry.h" #include "../gtkpp/Spinner.h" #include #include namespace cc = concurrencpp; class AddNumberDialog: public gtkpp::Dialog { private: gtkpp::Entry _entry; gtkpp::Spinner _spinner; public: explicit AddNumberDialog(gtkpp::Window* parent); std::string text() const; cc::result checkNumber(); }; #endif //AUTOCAT_GNOME_ADDNUMBERDIALOG_H