Yoda/src/app/browser.hpp

47 lines
850 B
C++
Raw Normal View History

#ifndef APP_BROWSER_H
#define APP_BROWSER_H
#include <glibmm/i18n.h>
#include <gtkmm/applicationwindow.h>
2024-08-11 14:52:09 +03:00
namespace lib
{
class Database;
}
namespace app
{
2024-08-11 22:04:34 +03:00
namespace browser
{
class Header;
class Main;
}
class Browser : public Gtk::ApplicationWindow
{
2024-08-11 22:04:34 +03:00
private:
app::browser::Header * header;
app::browser::Main * main;
public:
2024-08-11 09:55:10 +03:00
Browser(
2024-08-12 14:18:09 +03:00
//const Glib::RefPtr<Gtk::Application> & app,
//const std::shared_ptr<lib::Database> & db
2024-08-11 09:55:10 +03:00
);
2024-08-12 09:45:22 +03:00
~Browser();
2024-08-12 18:16:27 +03:00
void main_tab_append();
2024-08-11 22:04:34 +03:00
2024-08-12 19:11:00 +03:00
void main_tab_close();
2024-08-12 20:24:06 +03:00
void main_tab_close_left();
void main_tab_close_right();
void main_tab_close_all();
2024-08-12 19:11:00 +03:00
2024-08-11 09:55:10 +03:00
void debug();
};
}
#endif // APP_BROWSER_H