#ifndef JUCI_NOTEBOOK_H_ #define JUCI_NOTEBOOK_H_ #include #include "gtkmm.h" #include "source.h" #include #include #include #include class Notebook : public Gtk::Notebook { public: Notebook(); Source::View* get_view(int page); int size(); Source::View* get_current_view(); bool close_current_page(); void open(std::string filename); bool save(int page); bool save_current(); std::string project_path; private: bool save_modified_dialog(); std::vector > source_views; std::vector > scrolled_windows; std::vector > hboxes; }; #endif // JUCI_NOTEBOOK_H_