1 /** \file uicommands.h 2 * \brief Simple commands triggered from the menu - header 3 * 4 * \author Bas Wassink <b.wassink@ziggo.nl> 5 */ 6 7 /* 8 * This file is part of VICE, the Versatile Commodore Emulator. 9 * See README for copyright notice. 10 * 11 * This program is free software; you can redistribute it and/or modify 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2 of the License, or 14 * (at your option) any later version. 15 * 16 * This program is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU General Public License for more details. 20 * 21 * You should have received a copy of the GNU General Public License 22 * along with this program; if not, write to the Free Software 23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 24 * 02111-1307 USA. 25 * 26 */ 27 28 #ifndef VICE_UICOMMANDS_H 29 #define VICE_UICOMMANDS_H 30 31 #include "vice.h" 32 #include <gtk/gtk.h> 33 34 gboolean ui_toggle_resource(GtkWidget *widget, gpointer resource); 35 36 gboolean ui_swap_joysticks_callback(GtkWidget *widget, gpointer user_data); 37 gboolean ui_swap_userport_joysticks_callback(GtkWidget *widget, 38 gpointer user_data); 39 40 void ui_machine_reset_callback(GtkWidget *widget, gpointer user_data); 41 void ui_drive_reset_callback(GtkWidget *widget, gpointer user_data); 42 void ui_close_callback(GtkWidget *widget, gpointer user_data); 43 44 gboolean ui_main_window_delete_event(GtkWidget *widget, GdkEvent *event, 45 gpointer user_data); 46 void ui_main_window_destroy_callback(GtkWidget *widget, gpointer user_data); 47 48 void ui_open_manual_callback(GtkWidget *widget, gpointer user_data); 49 50 #endif 51