#include "main.hpp" #include "app/browser.hpp" #include "lib/database.hpp" int main( int argc, char * argv[] ) { // Init profile auto database = lib::Database( "database.sqlite3" ); // Init app auto app = Gtk::Application::create( "io.github.yggverse.Yoda" ); // Init actions app->add_action( "quit", sigc::mem_fun( * app, & Gtk::Application::quit ) ); // Init accels app->set_accel_for_action( "app.quit", "q" ); // Launch browser component return app->make_window_and_run( argc, argv, app ); }