/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * goffice.h :
 *
 * Copyright (C) 2003-2005 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., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
 * USA
 */
#ifndef GOFFICE_H
#define GOFFICE_H

#include <glib.h>
#include <goffice/goffice-features.h>

#ifndef GO_VAR_DECL
#  ifdef WIN32
#    ifdef GOFFICE_COMPILATION
#      define GO_VAR_DECL __declspec(dllexport)
#    else
#      define GO_VAR_DECL extern __declspec(dllimport)
#    endif
#  else
#    define GO_VAR_DECL extern
#  endif
#endif /* GO_VAR_DECL */


#include <glib-object.h>
#ifdef GOFFICE_WITH_GTK
#include <gtk/gtk.h>
#endif

#include <goffice/app/goffice-app.h>
#include <goffice/utils/goffice-utils.h>
#include <goffice/data/goffice-data.h>
#include <goffice/math/goffice-math.h>
#include <goffice/graph/goffice-graph.h>
#ifdef GOFFICE_WITH_GTK
#include <goffice/gtk/goffice-gtk.h>
#include <goffice/canvas/goffice-canvas.h>
#endif

G_BEGIN_DECLS

void libgoffice_init     (void);
void libgoffice_shutdown (void);

G_END_DECLS

#endif /* GOFFICE_H */
