#ifndef SOURCE_EDITOR_HPP_INCLUDED #define SOURCE_EDITOR_HPP_INCLUDED #include #include #include #include #include #include "light.hpp" namespace cx_light { class editor: public Gtk::Grid { public: editor(light*); ~editor() override; std::string get_title(); std::string get_address(); private: light *target; Gtk::Entry *title; Gtk::Entry *address; Gtk::Label *description; Gtk::Label *title_label; Gtk::Label *address_label; Gtk::Button *save; Gtk::Button *back; }; } #endif