You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
795 B

#ifndef JUCI_WINDOW_H_
#define JUCI_WINDOW_H_
11 years ago
#include "api.h"
#include "config.h"
#include "terminal.h"
11 years ago
#include <cstddef>
class Window : public Gtk::Window {
public:
Window();
MainConfig& main_config() { return main_config_; }
// std::string OnSaveFileAs();
Gtk::Box window_box_;
virtual ~Window() { }
11 years ago
//private:
MainConfig main_config_;
Keybindings::Controller keybindings_;
Menu::Controller menu_;
Notebook::Controller notebook_;
Terminal::Controller terminal_;
PluginApi api_;
Keybindings::Controller& keybindings() { return keybindings_; }
private:
std::mutex running;
Gtk::VPaned paned_;
//signal handlers
void OnWindowHide();
void OnOpenFile();
void OnFileOpenFolder();
bool SaveFile();
bool SaveFileAs();
};
11 years ago
#endif // JUCI_WINDOW_H