summaryrefslogtreecommitdiff
path: root/src/eom-plugin-engine.h
blob: bd2ce7fc129a7359cf35a4e0b0cb0e458ff0dee0 (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/* Eye Of Mate - EOM Plugin Engine
 *
 * Copyright (C) 2007 The Free Software Foundation
 *
 * Author: Lucas Rocha <lucasr@gnome.org>
 *
 * Based on gedit code (gedit/gedit-plugins-engine.h) by:
 * 	- Paolo Maggi <paolo@gnome.org>
 *
 * 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.
 */

#ifndef __EOM_PLUGIN_ENGINE_H__
#define __EOM_PLUGIN_ENGINE_H__

#include "eom-window.h"

#include <glib.h>

typedef struct _EomPluginInfo EomPluginInfo;

G_GNUC_INTERNAL
gboolean	 eom_plugin_engine_init 		(void);

G_GNUC_INTERNAL
void		 eom_plugin_engine_shutdown 		(void);

G_GNUC_INTERNAL
void		 eom_plugin_engine_garbage_collect	(void);

G_GNUC_INTERNAL
const GList	*eom_plugin_engine_get_plugins_list 	(void);

G_GNUC_INTERNAL
gboolean 	 eom_plugin_engine_activate_plugin 	(EomPluginInfo *info);

G_GNUC_INTERNAL
gboolean 	 eom_plugin_engine_deactivate_plugin	(EomPluginInfo *info);

G_GNUC_INTERNAL
gboolean 	 eom_plugin_engine_plugin_is_active 	(EomPluginInfo *info);

G_GNUC_INTERNAL
gboolean 	 eom_plugin_engine_plugin_is_available	(EomPluginInfo *info);

G_GNUC_INTERNAL
gboolean	 eom_plugin_engine_plugin_is_configurable
			       				(EomPluginInfo *info);

G_GNUC_INTERNAL
void	 	 eom_plugin_engine_configure_plugin	(EomPluginInfo *info,
			       			 	 GtkWindow     *parent);

G_GNUC_INTERNAL
void		 eom_plugin_engine_update_plugins_ui	(EomWindow     *window,
			       			 	 gboolean       new_window);

G_GNUC_INTERNAL
const gchar	*eom_plugin_engine_get_plugin_name	(EomPluginInfo *info);

G_GNUC_INTERNAL
const gchar	*eom_plugin_engine_get_plugin_description
			       				(EomPluginInfo *info);

G_GNUC_INTERNAL
const gchar	*eom_plugin_engine_get_plugin_icon_name (EomPluginInfo *info);

G_GNUC_INTERNAL
const gchar    **eom_plugin_engine_get_plugin_authors   (EomPluginInfo *info);

G_GNUC_INTERNAL
const gchar	*eom_plugin_engine_get_plugin_website   (EomPluginInfo *info);

G_GNUC_INTERNAL
const gchar	*eom_plugin_engine_get_plugin_copyright (EomPluginInfo *info);

#endif  /* __EOM_PLUGIN_ENGINE_H__ */