/* * goffice-app.h: * * Copyright (C) 2004 Jody Goldberg (jody@gnome.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) version 3. * * 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_APP_H #define GOFFICE_APP_H #include G_BEGIN_DECLS typedef struct _GODoc GODoc; typedef struct _GODocControl GODocControl; typedef struct _GOCmdContext GOCmdContext; typedef struct _GoView GoView; typedef struct _GOPlugin GOPlugin; typedef struct _GOPluginService GOPluginService; typedef struct _GOPluginLoader GOPluginLoader; /* temporary */ typedef struct _GOErrorInfo GOErrorInfo; typedef struct _GOFileSaver GOFileSaver; typedef struct _GOFileOpener GOFileOpener; typedef struct _GOIOContext GOIOContext; /** * GOFileProbeLevel: * @GO_FILE_PROBE_FILE_NAME: Test only file name, don't read file contents * @GO_FILE_PROBE_CONTENT: Read the whole file if it's necessary * @GO_FILE_PROBE_LAST: Invalid * * File probe level tells file opener (its probe method to be exact), how * hard it should try to recognize the type of the file. File openers may * ignore this or support only some probe levels, but if specifies * "reccomened" behaviour. * Before opening any file we detect its type by calling probe for * every registered file opener (in order of priority) and passing * GO_FILE_PROBE_FILE_NAME as probe level. If none of them recogizes the file, * we increase probe level and try again... */ typedef enum { GO_FILE_PROBE_FILE_NAME, GO_FILE_PROBE_CONTENT, GO_FILE_PROBE_LAST } GOFileProbeLevel; G_END_DECLS #include #include #include #include #ifdef GOFFICE_WITH_GTK #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #endif /* GOFFICE_GRAPH_H */