00001 /* 00002 * Gnome Chemistry Utils 00003 * cmd-context-gtk.h 00004 * 00005 * Copyright (C) 2010 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_GTK_H 00024 #define GCU_CMD_CONTEXT_GTK_H 00025 00026 #include "cmd-context.h" 00027 00028 namespace gcu { 00029 00030 class CmdContextGtk: public CmdContext { 00031 public: 00032 CmdContextGtk (Application *App); 00033 virtual ~CmdContextGtk (); 00034 00035 Response GetResponse (char const *message, int responses); 00036 void Message (char const *message, Severity severity, bool modal); 00037 }; 00038 00039 } // namespace gcu 00040 00041 #endif /* GCU_CMD_CONTEXT_GTK_H */