|
From: <ho...@us...> - 2004-02-27 00:42:25
|
Update of /cvsroot/ganc/ganc/src/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8237/src/include Modified Files: functions.h Log Message: Added possibility to compile without GUI (very basic) Index: functions.h =================================================================== RCS file: /cvsroot/ganc/ganc/src/include/functions.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** functions.h 3 Feb 2004 21:28:01 -0000 1.10 --- functions.h 27 Feb 2004 00:34:07 -0000 1.11 *************** *** 4,12 **** //#include <stdio.h> #ifdef BUILD_GUI #include <gtk/gtk.h> - #endif ! #include "defines.h" // evaluate.c --- 4,30 ---- //#include <stdio.h> + #include "defines.h" + + #ifdef BUILD_GUI + #include <gtk/gtk.h> ! // display.c ! void PrintPrompt (GtkTextIter *point_iter); ! void TravelEntryHistory (guint keyval); ! void InsertText (char *text); ! void ClearInputLine (void); ! void ExpressionReady (void); ! void SetDisplayGeometryHints (GtkWindow *window); ! void SetDisplayDefaultFont (void); ! ! #else /* not BUILD_GUI */ ! ! // display_text.c ! void TextDisplay (void); ! ! #endif /* not BUILD_GUI */ ! // evaluate.c *************** *** 40,52 **** int GetResultOutputFormat (int format); - // display.c - void PrintPrompt (GtkTextIter *point_iter); - void TravelEntryHistory (guint keyval); - void InsertText (char *text); - void ClearInputLine (void); - void ExpressionReady (void); - void SetDisplayGeometryHints (GtkWindow *window); - void SetDisplayDefaultFont (void); - // history.c void InitializeHistory (void); --- 58,61 ---- |