00001 /* Copyright 2009 (c) ENSI de Bourges 00002 * 88 boulevard Lahitolle, 18020 Bourges Cedex, France 00003 * 00004 * This program is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 3 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00025 #ifndef __FRAME_NEW_DIALOG_H 00026 #define __FRAME_NEW_DIALOG_H 00027 #ifdef __cplusplus 00028 extern "C" { 00029 #endif 00030 00031 #include "frame-common.h" 00032 #include "frame-private.h" 00033 #include "frame-utilities.h" 00034 #include "plugins.h" 00035 00036 00037 00047 struct _frame_new_dialog_t { 00048 GtkBuilder *builder; 00049 frame_t *frame; 00050 }; 00067 void frame_populate_time_period_combo (GtkWidget *, plugin_t *, time_period_t *); 00068 00069 00070 00083 void frame_populate_tool_type_combo (GtkWidget *, machine_t *, gchar *); 00084 00085 00086 00096 void frame_populate_machine_combo (GtkWidget *, GList *, machine_t *); 00097 00098 00099 00107 void frame_on_new (GtkToolButton *, gpointer); 00108 #ifdef __cplusplus 00109 } 00110 #endif 00111 #endif