From a8d28a6ce7e0c56dacba5d527d9134573a008902 Mon Sep 17 00:00:00 2001 From: Perberos Date: Sun, 6 Nov 2011 19:30:49 -0300 Subject: inicial --- src/eom-plugin-engine.h | 89 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 src/eom-plugin-engine.h (limited to 'src/eom-plugin-engine.h') diff --git a/src/eom-plugin-engine.h b/src/eom-plugin-engine.h new file mode 100644 index 0000000..bd2ce7f --- /dev/null +++ b/src/eom-plugin-engine.h @@ -0,0 +1,89 @@ +/* Eye Of Mate - EOM Plugin Engine + * + * Copyright (C) 2007 The Free Software Foundation + * + * Author: Lucas Rocha + * + * Based on gedit code (gedit/gedit-plugins-engine.h) by: + * - Paolo Maggi + * + * 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 + +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__ */ -- cgit v1.2.1