~cyphermox/ethos/debian

« back to all changes in this revision

Viewing changes to plugin-loaders/js/ethos-js-plugin-loader.h

  • Committer: Mathieu Trudel-Lapierre
  • Date: 2011-07-27 00:48:52 UTC
  • Revision ID: mathieu-tl@ubuntu.com-20110727004852-t7bz3ye3ugttb9aq
Clean tree to get to a merge-mode package tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ethos-js-plugin-loader.h
2
 
 *
3
 
 * Copyright (C) 2009 Christian Hergert <chris@dronelabs.com>
4
 
 *
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.
9
 
 *
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.
14
 
 *
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 
18
 
 * 02110-1301 USA
19
 
 */
20
 
 
21
 
#ifndef __ETHOS_JS_PLUGIN_LOADER_H__
22
 
#define __ETHOS_JS_PLUGIN_LOADER_H__
23
 
 
24
 
#include <glib-object.h>
25
 
 
26
 
G_BEGIN_DECLS
27
 
 
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))
35
 
 
36
 
typedef struct _EthosJSPluginLoader             EthosJSPluginLoader;
37
 
typedef struct _EthosJSPluginLoaderClass        EthosJSPluginLoaderClass;
38
 
typedef struct _EthosJSPluginLoaderPrivate      EthosJSPluginLoaderPrivate;
39
 
 
40
 
struct _EthosJSPluginLoader
41
 
{
42
 
        GObject parent;
43
 
 
44
 
        EthosJSPluginLoaderPrivate *priv;
45
 
};
46
 
 
47
 
struct _EthosJSPluginLoaderClass
48
 
{
49
 
        GObjectClass parent_class;
50
 
};
51
 
 
52
 
GType               ethos_js_plugin_loader_get_type (void) G_GNUC_CONST;
53
 
EthosPluginLoader*  ethos_js_plugin_loader_new      (void);
54
 
 
55
 
G_END_DECLS
56
 
 
57
 
#endif /* __ETHOS_JS_PLUGIN_LOADER_H__ */