require db on browser construct

This commit is contained in:
yggverse 2024-08-11 14:52:09 +03:00
parent c477c70c56
commit 4b2fe64b08
3 changed files with 16 additions and 8 deletions

View file

@ -4,6 +4,11 @@
#include <glibmm/i18n.h>
#include <gtkmm/applicationwindow.h>
namespace lib
{
class Database;
}
namespace app
{
class Browser : public Gtk::ApplicationWindow
@ -15,7 +20,8 @@ namespace app
const int HEIGHT = 480;
Browser(
const Glib::RefPtr<Gtk::Application> & app
const Glib::RefPtr<Gtk::Application> & app,
const lib::Database & db
);
void debug();