summaryrefslogtreecommitdiff
path: root/gedit/gedit-style-scheme-manager.h
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-11-07 16:46:58 -0300
committerPerberos <[email protected]>2011-11-07 16:46:58 -0300
commit528c1e5ff51e213936e800fc5a9a25da99c0bdf2 (patch)
tree77f8aa456b09367ba81f04d4562fc935f898a951 /gedit/gedit-style-scheme-manager.h
downloadpluma-528c1e5ff51e213936e800fc5a9a25da99c0bdf2.tar.bz2
pluma-528c1e5ff51e213936e800fc5a9a25da99c0bdf2.tar.xz
initial
Diffstat (limited to 'gedit/gedit-style-scheme-manager.h')
-rwxr-xr-xgedit/gedit-style-scheme-manager.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/gedit/gedit-style-scheme-manager.h b/gedit/gedit-style-scheme-manager.h
new file mode 100755
index 00000000..406719ae
--- /dev/null
+++ b/gedit/gedit-style-scheme-manager.h
@@ -0,0 +1,56 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * gedit-style-scheme-manager.h
+ *
+ * Copyright (C) 2007 - Paolo Borelli
+ *
+ * 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., 59 Temple Place, Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * $Id: gedit-source-style-manager.h 5598 2007-04-15 13:16:24Z pborelli $
+ */
+
+#ifndef __GEDIT_STYLE_SCHEME_MANAGER_H__
+#define __GEDIT_STYLE_SCHEME_MANAGER_H__
+
+#include <gtksourceview/gtksourcestyleschememanager.h>
+
+G_BEGIN_DECLS
+
+GtkSourceStyleSchemeManager *
+ gedit_get_style_scheme_manager (void);
+
+/* Returns a sorted list of style schemes */
+GSList *gedit_style_scheme_manager_list_schemes_sorted
+ (GtkSourceStyleSchemeManager *manager);
+
+/*
+ * Non exported functions
+ */
+gboolean _gedit_style_scheme_manager_scheme_is_gedit_user_scheme
+ (GtkSourceStyleSchemeManager *manager,
+ const gchar *scheme_id);
+
+const gchar *_gedit_style_scheme_manager_install_scheme
+ (GtkSourceStyleSchemeManager *manager,
+ const gchar *fname);
+
+gboolean _gedit_style_scheme_manager_uninstall_scheme
+ (GtkSourceStyleSchemeManager *manager,
+ const gchar *id);
+
+G_END_DECLS
+
+#endif /* __GEDIT_STYLE_SCHEME_MANAGER_H__ */