00001 /* 00002 * message.h -- dialogs and prompts 00003 * Copyright (C) 2000 Arne Schirmacher <arne@schirmacher.de> 00004 * Copyright (C) 2001-2007 Dan Dennedy <dan@dennedy.org> 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 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 Foundation, 00018 * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 */ 00020 00021 #ifndef _MESSAGE_H 00022 #define _MESSAGE_H 00023 00024 #ifdef __cplusplus 00025 extern "C" 00026 { 00027 #endif 00028 00029 void modal_message ( const char * message, ... ); 00030 char *modal_prompt( const char * message, ... ); 00031 int modal_confirm( const char * affirm_label, const char *close_label, const char *message, ... ); 00032 00033 void modal_message_with_parent ( GtkWidget *parent, const char * message, ... ); 00034 char *modal_prompt_with_parent( GtkWidget *parent, const char * message, ... ); 00035 int modal_confirm_with_parent( const char * affirm_label, const char *close_label, GtkWidget *parent, const char *message, ... ); 00036 00037 #ifdef __cplusplus 00038 } 00039 #endif 00040 00041 #endif
1.4.2