1 /* 2 * xed-highlight-mode-selector.h 3 * This file is part of xed 4 * 5 * Copyright (C) 2013 - Ignacio Casal Quinteiro 6 * 7 * xed 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 * xed 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 xed. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 21 #ifndef XED_HIGHLIGHT_MODE_SELECTOR_H 22 #define XED_HIGHLIGHT_MODE_SELECTOR_H 23 24 #include <glib-object.h> 25 #include <gtksourceview/gtksource.h> 26 #include "xed-window.h" 27 28 G_BEGIN_DECLS 29 30 #define XED_TYPE_HIGHLIGHT_MODE_SELECTOR (xed_highlight_mode_selector_get_type ()) 31 32 G_DECLARE_FINAL_TYPE (XedHighlightModeSelector, xed_highlight_mode_selector, XED, HIGHLIGHT_MODE_SELECTOR, GtkGrid) 33 34 XedHighlightModeSelector *xed_highlight_mode_selector_new (void); 35 36 void xed_highlight_mode_selector_select_language (XedHighlightModeSelector *selector, 37 GtkSourceLanguage *language); 38 39 void xed_highlight_mode_selector_activate_selected_language 40 (XedHighlightModeSelector *selector); 41 42 G_END_DECLS 43 44 #endif /* XED_HIGHLIGHT_MODE_SELECTOR_H */ 45 46 /* ex:set ts=8 noet: */ 47