/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * goffice.c : a bogus little init file to pull all the parts together * * Copyright (C) 2003-2004 Jody Goldberg (jody@gnome.org) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int goffice_graph_debug_level = 0; void libgoffice_init (void) { go_font_init (); go_math_init (); gsf_init (); /* keep trigger happy linkers from leaving things out */ gog_plugin_services_init (); (void) GOG_GRAPH_TYPE; (void) GOG_CHART_TYPE; (void) GOG_PLOT_TYPE; (void) GOG_SERIES_TYPE; (void) GOG_SERIES_ELEMENT_TYPE; (void) GOG_LEGEND_TYPE; (void) GOG_AXIS_TYPE; (void) GOG_LABEL_TYPE; (void) GOG_GRID_TYPE; (void) GOG_GRID_LINE_TYPE; (void) GOG_ERROR_BAR_TYPE; (void) GO_DATA_SCALAR_VAL_TYPE; (void) GO_DATA_SCALAR_STR_TYPE; gog_themes_init (); } void libgoffice_shutdown (void) { gog_themes_shutdown (); go_font_shutdown (); gog_plugin_services_shutdown (); }