Commit 19bea0db authored by Jonh Wendell's avatar Jonh Wendell
Browse files

Removed vinagre-plugins-engine.*

parent d38acdf2
......@@ -21,7 +21,6 @@ NOINST_H_FILES = \
vinagre-object-module.h \
vinagre-plugin-manager.h \
vinagre-plugin-dialog.h \
vinagre-plugins-engine.h \
vinagre-window-private.h \
pty_open.h \
$(NULL)
......@@ -76,7 +75,6 @@ handwritten_sources = \
vinagre-plugin.c \
vinagre-plugin-dialog.c \
vinagre-plugin-manager.c \
vinagre-plugins-engine.c \
vinagre-prefs.c \
vinagre-tab.c \
vinagre-utils.c \
......@@ -163,7 +161,6 @@ vinagre_applet_SOURCES = \
vinagre-bookmarks-entry.h vinagre-bookmarks-entry.c \
vinagre-bookmarks-tree.h vinagre-bookmarks-tree.c \
vinagre-bookmarks-migration.h vinagre-bookmarks-migration.c \
vinagre-plugins-engine.h vinagre-plugins-engine.c \
vinagre-plugin.h vinagre-plugin.c \
vinagre-plugin-manager.h vinagre-plugin-manager.c \
vinagre-plugin-dialog.h vinagre-plugin-dialog.c \
......
This diff is collapsed.
/*
* vinagre-plugins-engine.h
* This file is part of vinagre
*
* Based on gedit plugin system
* Copyright (C) 2002-2005 Paolo Maggi
* Copyright (C) 2009 Jonh Wendell <wendell@bani.com.br>
*
* vinagre-plugins-engine.h 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.
*
* vinagre-plugins-engine.h 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef __VINAGRE_PLUGINS_ENGINE_H__
#define __VINAGRE_PLUGINS_ENGINE_H__
#include <glib.h>
#include "vinagre-window.h"
#include "vinagre-plugin-info.h"
#include "vinagre-plugin.h"
#include "vinagre-connection.h"
G_BEGIN_DECLS
#define VINAGRE_TYPE_PLUGINS_ENGINE (vinagre_plugins_engine_get_type ())
#define VINAGRE_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), VINAGRE_TYPE_PLUGINS_ENGINE, VinagrePluginsEngine))
#define VINAGRE_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), VINAGRE_TYPE_PLUGINS_ENGINE, VinagrePluginsEngineClass))
#define VINAGRE_IS_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), VINAGRE_TYPE_PLUGINS_ENGINE))
#define VINAGRE_IS_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VINAGRE_TYPE_PLUGINS_ENGINE))
#define VINAGRE_PLUGINS_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), VINAGRE_TYPE_PLUGINS_ENGINE, VinagrePluginsEngineClass))
typedef struct _VinagrePluginsEngine VinagrePluginsEngine;
typedef struct _VinagrePluginsEnginePrivate VinagrePluginsEnginePrivate;
struct _VinagrePluginsEngine
{
GObject parent;
VinagrePluginsEnginePrivate *priv;
};
typedef struct _VinagrePluginsEngineClass VinagrePluginsEngineClass;
struct _VinagrePluginsEngineClass
{
GObjectClass parent_class;
void (* activate_plugin) (VinagrePluginsEngine *engine,
VinagrePluginInfo *info);
void (* deactivate_plugin) (VinagrePluginsEngine *engine,
VinagrePluginInfo *info);
};
GType vinagre_plugins_engine_get_type (void) G_GNUC_CONST;
VinagrePluginsEngine *vinagre_plugins_engine_get_default (void);
void vinagre_plugins_engine_garbage_collect (VinagrePluginsEngine *engine);
const GSList *vinagre_plugins_engine_get_plugin_list (VinagrePluginsEngine *engine);
VinagrePluginInfo *vinagre_plugins_engine_get_plugin_info (VinagrePluginsEngine *engine,
const gchar *name);
/* plugin load and unloading (overall, for all windows) */
gboolean vinagre_plugins_engine_activate_plugin (VinagrePluginsEngine *engine,
VinagrePluginInfo *info);
gboolean vinagre_plugins_engine_deactivate_plugin (VinagrePluginsEngine *engine,
VinagrePluginInfo *info);
void vinagre_plugins_engine_configure_plugin (VinagrePluginsEngine *engine,
VinagrePluginInfo *info,
GtkWindow *parent);
/* plugin activation/deactivation per window, private to VinagreWindow */
void vinagre_plugins_engine_activate_plugins (VinagrePluginsEngine *engine,
VinagreWindow *window);
void vinagre_plugins_engine_deactivate_plugins (VinagrePluginsEngine *engine,
VinagreWindow *window);
void vinagre_plugins_engine_update_plugins_ui (VinagrePluginsEngine *engine,
VinagreWindow *window);
/* private for gconf notification */
void vinagre_plugins_engine_active_plugins_changed (VinagrePluginsEngine *engine);
void vinagre_plugins_engine_rescan_plugins (VinagrePluginsEngine *engine);
GHashTable *vinagre_plugin_engine_get_plugins_by_protocol (VinagrePluginsEngine *engine);
VinagrePlugin *vinagre_plugins_engine_get_plugin_by_protocol (VinagrePluginsEngine *engine,
const gchar *protocol);
G_END_DECLS
#endif /* __VINAGRE_PLUGINS_ENGINE_H__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment