delegate specific database operations to widgets, use SQLiteCpp wrapper

This commit is contained in:
yggverse 2024-09-08 22:13:52 +03:00
parent 35f4741a1c
commit f98b0e55e9
16 changed files with 72 additions and 147 deletions

View file

@ -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,