00001 /* 00002 * Gnome Chemistry Utils 00003 * cmd-context.h 00004 * 00005 * Copyright (C) 2007-2008 Jean Bréfort <jean.brefort@normalesup.org> 00006 * 00007 * This program is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU General Public License as 00009 * published by the Free Software Foundation; either version 2 of the 00010 * License, or (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 00020 * USA 00021 */ 00022 00023 #ifndef GCU_CMD_CONTEXT_H 00024 #define GCU_CMD_CONTEXT_H 00025 00026 #ifdef GOFFICE_HAS_GLOBAL_HEADER 00027 # include <goffice/goffice.h> 00028 #else 00029 # include <goffice/app/go-cmd-context-impl.h> 00030 #endif 00031 #include <glib-object.h> 00032 00033 G_BEGIN_DECLS 00034 00044 #define GCU_CMD_CONTEXT_TYPE (gcu_cmd_context_get_type ()) 00045 GType gcu_cmd_context_get_type (void); 00046 00050 GOCmdContext *gcu_get_cmd_context (void); 00051 00052 G_END_DECLS 00053 00054 #endif /* GCU_CMD_CONTEXT_H */