00001 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 00002 /* 00003 * goffice.h : 00004 * 00005 * Copyright (C) 2003-2005 Jody Goldberg (jody@gnome.org) 00006 * 00007 * This program is free software; you can redistribute it and/or 00008 * modify it under the terms of version 2 of the GNU General Public 00009 * License as published by the Free Software Foundation. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 00019 * USA 00020 */ 00021 #ifndef GOFFICE_H 00022 #define GOFFICE_H 00023 00024 #include <glib.h> 00025 00026 G_BEGIN_DECLS 00027 00028 void libgoffice_init (void); 00029 void libgoffice_shutdown (void); 00030 00031 #ifndef GO_VAR_DECL 00032 # ifdef WIN32 00033 # ifdef GOFFICE_COMPILATION 00034 # define GO_VAR_DECL __declspec(dllexport) 00035 # else 00036 # define GO_VAR_DECL extern __declspec(dllimport) 00037 # endif 00038 # else 00039 # define GO_VAR_DECL extern 00040 # endif 00041 #endif /* GO_VAR_DECL */ 00042 00043 G_END_DECLS 00044 00045 #endif /* GOFFICE_H */