summaryrefslogtreecommitdiff
path: root/gedit/gedit-style-scheme-manager.h
blob: 406719ae9c92648e46b31fa62427045ed0dd8602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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__ */