The Gnome Chemistry Utils
0.13.6
|
00001 /* 00002 * Gnome Chemistry Utils 00003 * gcugtk/cmd-context-gtk.h 00004 * 00005 * Copyright (C) 2010-2012 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_GTK_CMD_CONTEXT_GTK_H 00024 #define GCU_GTK_CMD_CONTEXT_GTK_H 00025 00026 #include <gcu/cmd-context.h> 00027 00029 namespace gcugtk { 00030 00036 class CmdContextGtk: public gcu::CmdContext { 00037 public: 00043 CmdContextGtk (Application *App); 00044 00048 virtual ~CmdContextGtk (); 00049 00058 Response GetResponse (char const *message, int responses); 00068 void Message (char const *message, Severity severity, bool modal); 00069 }; 00070 00071 } // namespace gcugtk 00072 00073 #endif /* GCU_GTK_CMD_CONTEXT_GTK_H */