Yoda/src/app/browser.hpp

44 lines
762 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:
const char * TITLE = _("Yoda");
const int WIDTH = 640;
const int HEIGHT = 480;
2024-08-11 09:55:10 +03:00
Browser(
2024-08-11 14:52:09 +03:00
const Glib::RefPtr<Gtk::Application> & app,
const lib::Database & db
2024-08-11 09:55:10 +03:00
);
2024-08-11 22:04:34 +03:00
void mainTabAppend();
2024-08-11 09:55:10 +03:00
void debug();
};
}
#endif // APP_BROWSER_H