Refactor perl code to write file header
[emu8051.git] / src / emugtk.h
index fc5bda2..8e47427 100644 (file)
@@ -1,52 +1,42 @@
-/* emugtk.h */
-
+/*
+ * emugtk.h
+ *
+ * Copyright (C) 1999 Jonathan St-AndrĂ©
+ * Copyright (C) 1999 Hugo Villeneuve <hugo@hugovil.com>
+ *
+ * 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 <gtk/gtk.h>
-#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 emugtk_StartRunning( );
-void emugtk_StopRunning( );
-void emugtk_Running( );
-
-void emugtk_UpdateDisplay();
-
-
-
-
 
+void
+AddMenuSeparator(GtkWidget *menu);
 
+void
+emugtk_new_file(char *file);
 
+void
+emugtk_UpdateDisplay(void);
 
-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_restart_gui(void);
 
+void
+emugtk_quit_gui(void);
 
 #endif /* EMUGTK_H */