1
/* ethos-js-plugin-loader.h
3
* Copyright (C) 2009 Christian Hergert <chris@dronelabs.com>
5
* This library is free software; you can redistribute it and/or
6
* modify it under the terms of the GNU Library General Public
7
* License as published by the Free Software Foundation; either
8
* version 2 of the License, or (at your option) any later version.
10
* This library is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Library General Public License for more details.
15
* You should have received a copy of the GNU Library General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA
21
#ifndef __ETHOS_JS_PLUGIN_LOADER_H__
22
#define __ETHOS_JS_PLUGIN_LOADER_H__
24
#include <glib-object.h>
28
#define ETHOS_TYPE_JS_PLUGIN_LOADER (ethos_js_plugin_loader_get_type ())
29
#define ETHOS_JS_PLUGIN_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ETHOS_TYPE_JS_PLUGIN_LOADER, EthosJSPluginLoader))
30
#define ETHOS_JS_PLUGIN_LOADER_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ETHOS_TYPE_JS_PLUGIN_LOADER, EthosJSPluginLoader const))
31
#define ETHOS_JS_PLUGIN_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ETHOS_TYPE_JS_PLUGIN_LOADER, EthosJSPluginLoaderClass))
32
#define ETHOS_IS_JS_PLUGIN_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ETHOS_TYPE_JS_PLUGIN_LOADER))
33
#define ETHOS_IS_JS_PLUGIN_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ETHOS_TYPE_JS_PLUGIN_LOADER))
34
#define ETHOS_JS_PLUGIN_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ETHOS_TYPE_JS_PLUGIN_LOADER, EthosJSPluginLoaderClass))
36
typedef struct _EthosJSPluginLoader EthosJSPluginLoader;
37
typedef struct _EthosJSPluginLoaderClass EthosJSPluginLoaderClass;
38
typedef struct _EthosJSPluginLoaderPrivate EthosJSPluginLoaderPrivate;
40
struct _EthosJSPluginLoader
44
EthosJSPluginLoaderPrivate *priv;
47
struct _EthosJSPluginLoaderClass
49
GObjectClass parent_class;
52
GType ethos_js_plugin_loader_get_type (void) G_GNUC_CONST;
53
EthosPluginLoader* ethos_js_plugin_loader_new (void);
57
#endif /* __ETHOS_JS_PLUGIN_LOADER_H__ */