X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Femugtk.h;h=fe13a458a41085454427184763a6e3ee4330d2de;hb=3c5ab93d18bec33726e42747dd7862f73528b7bd;hp=fc5bda21fbaaed2a5f64d020c2e3e60ffa5a73b7;hpb=4c305c73f8110d03b99cec045b3c5741867fd46b;p=emu8051.git diff --git a/src/emugtk.h b/src/emugtk.h index fc5bda2..fe13a45 100644 --- a/src/emugtk.h +++ b/src/emugtk.h @@ -1,52 +1,63 @@ -/* emugtk.h */ - +/* + * emugtk.h + * + * Copyright (C) 1999 Jonathan St-André + * Copyright (C) 1999 Hugo Villeneuve + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + */ #ifndef EMUGTK_H #define EMUGTK_H 1 - #include #include "gtksizes.h" -/*#include "exceptions.hpp"*/ - - -void emugtk_Reset( ); -void emugtk_Step( ); -// void Step( ); -// void Exec( ); - -void emugtk_AddButtons( ); -void emugtk_ShowMenu( ); - -gboolean emugtk_DeleteEvent( GtkWidget *widget, GdkEvent *event, gpointer data ); -void emugtk_DestroyEvent( GtkWidget *widget, gpointer data ); - -void emugtk_OpenEvent( GtkWidget *widget, gpointer data ); -void emugtk_QuitEvent( GtkWidget *widget, gpointer data ); -void emugtk_AboutEvent( GtkWidget *widget, gpointer data ); -void emugtk_ResetEvent( GtkWidget *widget, GdkEvent *event, gpointer data ); -void emugtk_RunEvent( GtkWidget *widget, GdkEvent *event, gpointer data ); -void emugtk_StopEvent( GtkWidget *widget, GdkEvent *event, gpointer data ); -void emugtk_StepEvent( GtkWidget *widget, GdkEvent *event, gpointer data ); +void +AddMenuSeparator(GtkWidget *menu); -void emugtk_StartRunning( ); -void emugtk_StopRunning( ); -void emugtk_Running( ); +void +emugtk_new_file(char *file); -void emugtk_UpdateDisplay(); +void +emugtk_StopRunning(void); +void +emugtk_Reset(void); +void +emugtk_UpdateDisplay(void); +void emugtk_Step(void); +void +emugtk_ResetEvent(GtkWidget *widget, GdkEvent *event, gpointer data); +void +emugtk_RunEvent(GtkWidget *widget, GdkEvent *event, gpointer data); +void +emugtk_StopEvent(GtkWidget *widget, GdkEvent *event, gpointer data); +void +emugtk_StepEvent(GtkWidget *widget, GdkEvent *event, gpointer data); -void EmuGtkSignalStub3( GtkWidget *widget, GdkEvent *event, gpointer data ); -void EmuGtkSignalStub2( GtkWidget *widget, gpointer data ); -void FileOpenDialog_OK( GtkButton *button, gpointer data ); -void FileOpenDialog_CANCEL( GtkButton *button, gpointer data ); +void +emugtk_StartRunning(void); +void +emugtk_Running(void); #endif /* EMUGTK_H */