2008-04-09 00:21:05 +02:00
|
|
|
/*
|
2008-04-11 23:04:39 +02:00
|
|
|
Main.cpp - The entry point for the GTK GUI application
|
|
|
|
|
|
|
|
|
|
Copyright (C) Lumiera.org
|
|
|
|
|
2008, Joel Holdsworth <joel@airwebreathe.org.uk>
|
|
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
|
modify it under the terms of the GNU General Public License as
|
|
|
|
|
published by the Free Software Foundation; either version 2 of the
|
|
|
|
|
License, or (at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
|
|
* *****************************************************/
|
2008-04-09 00:21:05 +02:00
|
|
|
|
|
|
|
|
#include <gtkmm.h>
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
|
|
#ifdef ENABLE_NLS
|
|
|
|
|
# include <libintl.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
2008-04-11 23:04:39 +02:00
|
|
|
#include "gtk-lumiera.hpp"
|
2008-04-11 21:28:15 +02:00
|
|
|
#include "workspace/mainwindow.hpp"
|
2008-04-10 16:36:21 +02:00
|
|
|
|
2008-04-11 23:04:39 +02:00
|
|
|
|
|
|
|
|
//const gchar* AppTitle
|
|
|
|
|
//const gchar AppTitle[] = N_("Lumiera");
|
|
|
|
|
|
|
|
|
|
using namespace lumiera::workspace;
|
2008-04-11 21:28:15 +02:00
|
|
|
using namespace Gtk;
|
2008-04-09 00:21:05 +02:00
|
|
|
|
2008-04-11 23:04:39 +02:00
|
|
|
int
|
|
|
|
|
main (int argc, char *argv[])
|
|
|
|
|
{
|
2008-04-11 21:28:15 +02:00
|
|
|
Main kit(argc, argv);
|
|
|
|
|
|
2008-04-11 23:04:39 +02:00
|
|
|
Glib::set_application_name(AppTitle);
|
2008-04-09 00:21:05 +02:00
|
|
|
|
2008-04-10 16:36:21 +02:00
|
|
|
MainWindow main_window;
|
|
|
|
|
|
|
|
|
|
kit.run(main_window);
|
|
|
|
|
|
2008-04-09 00:21:05 +02:00
|
|
|
return 0;
|
2008-04-11 23:04:39 +02:00
|
|
|
}
|
|
|
|
|
|