X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Femugtk.h;h=b5c48c4958e7a0896815ed8d581b9ebbe93caf39;hb=fc4dd8fa3aab94a5f63c097ed9809c75560abd7d;hp=fc5bda21fbaaed2a5f64d020c2e3e60ffa5a73b7;hpb=4c305c73f8110d03b99cec045b3c5741867fd46b;p=emu8051.git diff --git a/src/emugtk.h b/src/emugtk.h index fc5bda2..b5c48c4 100644 --- a/src/emugtk.h +++ b/src/emugtk.h @@ -1,5 +1,23 @@ -/* 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 @@ -7,23 +25,24 @@ #include #include "gtksizes.h" -/*#include "exceptions.hpp"*/ -void emugtk_Reset( ); -void emugtk_Step( ); -// void Step( ); -// void Exec( ); +void +AddMenuSeparator( GtkWidget *menu ); + +void +emugtk_new_file( char *file ); + +void +emugtk_StopRunning( void ); -void emugtk_AddButtons( ); -void emugtk_ShowMenu( ); +void +emugtk_Reset( void ); -gboolean emugtk_DeleteEvent( GtkWidget *widget, GdkEvent *event, gpointer data ); -void emugtk_DestroyEvent( GtkWidget *widget, gpointer data ); +void +emugtk_UpdateDisplay( void ); -void emugtk_OpenEvent( GtkWidget *widget, gpointer data ); -void emugtk_QuitEvent( GtkWidget *widget, gpointer data ); -void emugtk_AboutEvent( GtkWidget *widget, gpointer data ); +void emugtk_Step( ); void emugtk_ResetEvent( GtkWidget *widget, GdkEvent *event, gpointer data ); void emugtk_RunEvent( GtkWidget *widget, GdkEvent *event, gpointer data ); @@ -31,22 +50,7 @@ void emugtk_StopEvent( GtkWidget *widget, GdkEvent *event, gpointer data ); void emugtk_StepEvent( GtkWidget *widget, GdkEvent *event, gpointer data ); void emugtk_StartRunning( ); -void emugtk_StopRunning( ); -void emugtk_Running( ); - -void emugtk_UpdateDisplay(); - - - - - - - - -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_Running( ); #endif /* EMUGTK_H */