tv_rename/gui.cpp

18 lines
366 B
C++
Raw Normal View History

2019-01-23 19:46:03 +00:00
#include <gtkmm/application.h>
#include "mainwindow.hpp"
2020-01-16 10:12:22 +00:00
#include "tv_rename.hpp"
#define API_KEY "42B66F5E-C6BF-423F-ADF9-CC97163472F6"
2019-01-23 19:46:03 +00:00
2019-02-04 16:39:48 +00:00
int main( int argc, char **argv ) {
auto app = Gtk::Application::create(
argc, argv, "org.idonthaveanorganization.tvrename" );
2019-01-23 19:46:03 +00:00
2020-01-16 10:12:22 +00:00
authenticate( API_KEY );
2019-02-04 16:39:48 +00:00
MainWindow mw( app );
2019-01-23 19:46:03 +00:00
2019-02-04 16:39:48 +00:00
return app->run( mw );
2019-01-23 19:46:03 +00:00
}