mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
delegate specific database operations to widgets, use SQLiteCpp wrapper
This commit is contained in:
parent
35f4741a1c
commit
f98b0e55e9
16 changed files with 72 additions and 147 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include <glibmm/refptr.h>
|
||||
#include <glibmm/ustring.h>
|
||||
#include <gtkmm/notebook.h>
|
||||
#include <SQLiteCpp/SQLiteCpp.h>
|
||||
|
||||
namespace app::browser::main
|
||||
{
|
||||
|
|
@ -41,6 +42,7 @@ namespace app::browser::main
|
|||
public:
|
||||
|
||||
Tab(
|
||||
SQLite::Database & db,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__REFRESH,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_CLOSE_ACTIVE,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__MAIN_TAB_CLOSE_ALL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue