2024-08-12 21:35:52 +03:00
|
|
|
#ifndef APP_BROWSER_HPP
|
|
|
|
#define APP_BROWSER_HPP
|
2024-08-10 17:57:15 +03:00
|
|
|
|
|
|
|
#include <glibmm/i18n.h>
|
|
|
|
#include <gtkmm/applicationwindow.h>
|
|
|
|
|
2024-08-11 14:52:09 +03:00
|
|
|
namespace lib
|
|
|
|
{
|
|
|
|
class Database;
|
|
|
|
}
|
|
|
|
|
2024-08-10 17:57:15 +03:00
|
|
|
namespace app
|
|
|
|
{
|
2024-08-11 22:04:34 +03:00
|
|
|
namespace browser
|
|
|
|
{
|
|
|
|
class Header;
|
|
|
|
class Main;
|
|
|
|
}
|
|
|
|
|
2024-08-10 17:57:15 +03:00
|
|
|
class Browser : public Gtk::ApplicationWindow
|
|
|
|
{
|
2024-08-11 22:04:34 +03:00
|
|
|
private:
|
|
|
|
|
|
|
|
app::browser::Header * header;
|
|
|
|
app::browser::Main * main;
|
|
|
|
|
2024-08-10 17:57:15 +03:00
|
|
|
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-10 17:57:15 +03:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2024-08-12 21:35:52 +03:00
|
|
|
#endif // APP_BROWSER_HPP
|