summaryrefslogtreecommitdiff
path: root/libpeas/peas-plugin-loader-c.h
diff options
context:
space:
mode:
authorGarrett Regier <garrettregier@gmail.com>2011-08-28 00:01:18 -0700
committerGarrett Regier <garrettregier@gmail.com>2012-02-10 12:31:27 -0800
commit8f7533c40910312d4c89512e15a66286ce2bca81 (patch)
treebc55d6f4b8ae28e7ce151684b3ad44303ffec8d2 /libpeas/peas-plugin-loader-c.h
parenta702253f26bb3a2059fea5e6ee318eb85712eaf0 (diff)
downloadlibpeas-8f7533c40910312d4c89512e15a66286ce2bca81.tar.gz
Import the C plugin loader into libpeas
Diffstat (limited to 'libpeas/peas-plugin-loader-c.h')
-rw-r--r--libpeas/peas-plugin-loader-c.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/libpeas/peas-plugin-loader-c.h b/libpeas/peas-plugin-loader-c.h
new file mode 100644
index 0000000..5877e36
--- /dev/null
+++ b/libpeas/peas-plugin-loader-c.h
@@ -0,0 +1,55 @@
+/*
+ * peas-plugin-loader-c.h
+ * This file is part of libpeas
+ *
+ * Copyright (C) 2008 - Jesse van den Kieboom
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU Library 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 Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library 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 __PEAS_PLUGIN_LOADER_C_H__
+#define __PEAS_PLUGIN_LOADER_C_H__
+
+#include "peas-plugin-loader.h"
+
+G_BEGIN_DECLS
+
+#define PEAS_TYPE_PLUGIN_LOADER_C (peas_plugin_loader_c_get_type ())
+#define PEAS_PLUGIN_LOADER_C(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PEAS_TYPE_PLUGIN_LOADER_C, PeasPluginLoaderC))
+#define PEAS_PLUGIN_LOADER_C_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PEAS_TYPE_PLUGIN_LOADER_C, PeasPluginLoaderCClass))
+#define PEAS_IS_PLUGIN_LOADER_C(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PEAS_TYPE_PLUGIN_LOADER_C))
+#define PEAS_IS_PLUGIN_LOADER_C_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PEAS_TYPE_PLUGIN_LOADER_C))
+#define PEAS_PLUGIN_LOADER_C_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PEAS_TYPE_PLUGIN_LOADER_C, PeasPluginLoaderCClass))
+
+typedef struct _PeasPluginLoaderC PeasPluginLoaderC;
+typedef struct _PeasPluginLoaderCClass PeasPluginLoaderCClass;
+typedef struct _PeasPluginLoaderCPrivate PeasPluginLoaderCPrivate;
+
+struct _PeasPluginLoaderC {
+ PeasPluginLoader parent;
+
+ PeasPluginLoaderCPrivate *priv;
+};
+
+struct _PeasPluginLoaderCClass {
+ PeasPluginLoaderClass parent_class;
+};
+
+GType peas_plugin_loader_c_get_type (void) G_GNUC_CONST;
+PeasPluginLoader *peas_plugin_loader_c_new (void);
+
+G_END_DECLS
+
+#endif /* __PEAS_PLUGIN_LOADER_C_H__ */