1 /* 2 * gui.h - this file is part of Spellcheck, a Geany plugin 3 * 4 * Copyright 2008-2011 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 5 * Copyright 2008-2010 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 20 * MA 02110-1301, USA. 21 * 22 * $Id$ 23 */ 24 25 26 #ifndef SC_GUI_H 27 #define SC_GUI_H 1 28 29 30 void sc_gui_kb_run_activate_cb(guint key_id); 31 32 void sc_gui_kb_toggle_typing_activate_cb(guint key_id); 33 34 void sc_gui_recreate_editor_menu(void); 35 36 void sc_gui_update_editor_menu_cb(GObject *obj, const gchar *word, gint pos, 37 GeanyDocument *doc, gpointer user_data); 38 39 gboolean sc_gui_editor_notify(GObject *object, GeanyEditor *editor, 40 SCNotification *nt, gpointer data); 41 42 void sc_gui_document_open_cb(GObject *obj, GeanyDocument *doc, gpointer user_data); 43 44 void sc_gui_update_toolbar(void); 45 46 void sc_gui_update_menu(void); 47 48 void sc_gui_init(void); 49 50 void sc_gui_free(void); 51 52 #endif 53