X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fsyntax-editor.h;fp=src%2Fui%2Fgui%2Fsyntax-editor.h;h=0000000000000000000000000000000000000000;hb=d43a876351d94acce0e8d565ad2cb4d690727fe9;hp=b3943ec827c954d8273c330b3a6d7ea9d6d08920;hpb=c9d55afdda746d7e8b39e5a117c1644debbb0c75;p=pspp-builds.git diff --git a/src/ui/gui/syntax-editor.h b/src/ui/gui/syntax-editor.h deleted file mode 100644 index b3943ec8..00000000 --- a/src/ui/gui/syntax-editor.h +++ /dev/null @@ -1,44 +0,0 @@ -/* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2006 Free Software Foundation - - 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 3 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, see . */ - - -#ifndef SYNTAX_EDITOR_H -#define SYNTAX_EDITOR_H - -#include - -#include "window-manager.h" - -struct lexer; - -struct syntax_editor -{ - struct editor_window parent; - GtkTextBuffer *buffer; /* The buffer which contains the text */ - struct lexer *lexer; /* Lexer to parse syntax */ -}; - - -struct syntax_editor * new_syntax_editor (void); - -void new_syntax_window (GtkMenuItem *, gpointer); - -void open_syntax_window (GtkMenuItem *, gpointer); - -gboolean load_editor_from_file (struct syntax_editor *se, - const gchar *filename, - GError **err); -#endif