// -*- C++ -*-
/*
* Gnome Chemistry Utils
* programs/gchemtable-main.cc
*
* Copyright (C) 2005 Jean Bréfort <jean.brefort@normalesup.org>
*
* 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
#include "config.h"
#include "gchemtable-app.h"
#include <libgnomevfs/gnome-vfs-init.h>
#include <goffice/goffice.h>
#include <goffice/app/go-plugin.h>
#include <goffice/app/go-plugin-loader-module.h>
#include <libintl.h>
using namespace gcu;
int main (int argc, char *argv[])
{
textdomain (GETTEXT_PACKAGE);
gtk_init (&argc, &argv);
gnome_vfs_init ();
/* Initialize libgoffice */
libgoffice_init ();
/* Initialize plugins manager */
go_plugins_init (NULL, NULL, NULL, NULL, TRUE, GO_PLUGIN_LOADER_MODULE_TYPE);
new GChemTableApp ();
gtk_main();
return 0;
}
syntax highlighted by Code2HTML, v. 0.9.1