00001 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ 00002 /* 00003 * goffice-utils.h: 00004 * 00005 * Copyright (C) 2003-2004 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 00022 #ifndef GOFFICE_UTILS_H 00023 #define GOFFICE_UTILS_H 00024 00025 #include <glib.h> 00026 00027 G_BEGIN_DECLS 00028 00029 typedef guint32 GOColor; 00030 typedef struct _GOFont GOFont; 00031 typedef struct _GOFontMetrics GOFontMetrics; 00032 typedef struct _GOPattern GOPattern; 00033 typedef struct _GOMarker GOMarker; 00034 typedef struct _GOFormat GOFormat; 00035 typedef struct _GOFormatElement GOFormatElement; 00036 typedef struct _GODateConventions GODateConventions; 00037 typedef struct _GOImage GOImage; 00038 00039 /* rename this */ 00040 typedef struct _GOMemChunk GOMemChunk; 00041 00042 typedef const char *(*GOTranslateFunc)(char const *path, gpointer func_data); 00043 00044 G_END_DECLS 00045 00046 #endif /* GOFFICE_UTILS_H */