summaryrefslogtreecommitdiff
path: root/pluma/pluma-style-scheme-manager.h
blob: 7a90cb7127787574f04ea09a3642ca221d38d413 (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
57
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * pluma-style-scheme-manager.h
 *
 * Copyright (C) 2007 - Paolo Borelli
 * Copyright (C) 2012-2021 MATE Developers
 *
 * 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., 51 Franklin St, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 *
 * $Id: pluma-source-style-manager.h 5598 2007-04-15 13:16:24Z pborelli $
 */

#ifndef __PLUMA_STYLE_SCHEME_MANAGER_H__
#define __PLUMA_STYLE_SCHEME_MANAGER_H__

#include <gtksourceview/gtksource.h>

G_BEGIN_DECLS

GtkSourceStyleSchemeManager *
		 pluma_get_style_scheme_manager		(void);

/* Returns a sorted list of style schemes */
GSList		*pluma_style_scheme_manager_list_schemes_sorted
							(GtkSourceStyleSchemeManager *manager);

/*
 * Non exported functions
 */
gboolean	 _pluma_style_scheme_manager_scheme_is_pluma_user_scheme
							(GtkSourceStyleSchemeManager *manager,
							 const gchar                 *scheme_id);

const gchar	*_pluma_style_scheme_manager_install_scheme
							(GtkSourceStyleSchemeManager *manager,
							 const gchar                 *fname);

gboolean	 _pluma_style_scheme_manager_uninstall_scheme
							(GtkSourceStyleSchemeManager *manager,
							 const gchar                 *id);

G_END_DECLS

#endif /* __PLUMA_STYLE_SCHEME_MANAGER_H__ */