diff options
author | Johnny Jacob <jjohnny@src.gnome.org> | 2008-06-12 00:25:48 +0800 |
---|---|---|
committer | Johnny Jacob <jjohnny@src.gnome.org> | 2008-06-12 00:25:48 +0800 |
commit | a8288ede3081f5dcad39f9c0fc71cf849045a6ec (patch) | |
tree | 2eb12db1e32b17afa6a1644aa3a6837d2cdf143e /plugins/python/python-plugin-loader.h | |
parent | c4adc027e42c40f9698cdbdf3eeede3c6de06c49 (diff) | |
download | gsoc2013-evolution-a8288ede3081f5dcad39f9c0fc71cf849045a6ec.tar.gz gsoc2013-evolution-a8288ede3081f5dcad39f9c0fc71cf849045a6ec.tar.zst gsoc2013-evolution-a8288ede3081f5dcad39f9c0fc71cf849045a6ec.zip |
EPlugin : Initial commit for python support for eplugins.
svn path=/trunk/; revision=35626
Diffstat (limited to 'plugins/python/python-plugin-loader.h')
-rw-r--r-- | plugins/python/python-plugin-loader.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/plugins/python/python-plugin-loader.h b/plugins/python/python-plugin-loader.h new file mode 100644 index 0000000000..a7c9ff1f07 --- /dev/null +++ b/plugins/python/python-plugin-loader.h @@ -0,0 +1,47 @@ + /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- + * + * Author: Johnny Jacob <jjohnny@novell.com> + * + * Copyright 2008 Novell, Inc. (www.novell.com) + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. + * + * 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 Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +#ifndef _ORG_GNOME_EVOLUTION_PYTHON_H +#define _ORG_GNOME_EVOLUTION_PYTHON_H + +#include "e-util/e-plugin.h" + +typedef struct _EPluginPython EPluginPython; +typedef struct _EPluginPythonClass EPluginPythonClass; + +struct _EPluginPython { + EPlugin plugin; + + struct _EPluginPythonPrivate *priv; + + char *location; /* location */ + char *pClass; /* handler class */ + char *module_name; +}; + +struct _EPluginPythonClass { + EPluginClass plugin_class; +}; + +void *org_gnome_evolution_python_get_type(void *a, void *b); + + +#endif /* ! _ORG_GNOME_EVOLUTION_PYTHON_H */ |