mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
require db on browser construct
This commit is contained in:
parent
c477c70c56
commit
4b2fe64b08
3 changed files with 16 additions and 8 deletions
|
|
@ -4,7 +4,8 @@
|
|||
using namespace app;
|
||||
|
||||
Browser::Browser(
|
||||
const Glib::RefPtr<Gtk::Application> & app
|
||||
const Glib::RefPtr<Gtk::Application> & app,
|
||||
const lib::Database & db
|
||||
) {
|
||||
set_title(
|
||||
TITLE
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue