~shnatsel/+junk/cairo-compmgr

« back to all changes in this revision

Viewing changes to src/ccm-extension-loader.h

  • Committer: Sergey "Shnatsel" Davidoff
  • Date: 2012-03-04 22:53:22 UTC
  • Revision ID: shnatsel@gmail.com-20120304225322-q2hz82j51yxv1qqw
fixed up build dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4; tab-width: 4 -*- */
 
2
/*
 
3
 * cairo-compmgr
 
4
 * Copyright (C) Nicolas Bruguier 2007-2010 <gandalfn@club-internet.fr>
 
5
 * 
 
6
 * cairo-compmgr is free software; you can redistribute it and/or
 
7
 * modify it under the terms of the GNU Lesser General Public
 
8
 * License as published by the Free Software Foundation; either
 
9
 * version 2.1 of the License, or (at your option) any later version.
 
10
 * 
 
11
 * cairo-compmgr is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
 * Lesser General Public License for more details.
 
15
 * 
 
16
 * You should have received a copy of the GNU Lesser General Public
 
17
 * License along with cairo-compmgr.  If not, write to:
 
18
 *      The Free Software Foundation, Inc.,
 
19
 *      51 Franklin Street, Fifth Floor
 
20
 *      Boston, MA  02110-1301, USA.
 
21
 */
 
22
 
 
23
#ifndef _CCM_EXTENSION_LOADER_H_
 
24
#define _CCM_EXTENSION_LOADER_H_
 
25
 
 
26
#include <glib-object.h>
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
#define CCM_TYPE_EXTENSION_LOADER             (ccm_extension_loader_get_type ())
 
31
#define CCM_EXTENSION_LOADER(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), CCM_TYPE_EXTENSION_LOADER, CCMExtensionLoader))
 
32
#define CCM_EXTENSION_LOADER_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), CCM_TYPE_EXTENSION_LOADER, CCMExtensionLoaderClass))
 
33
#define CCM_IS_EXTENSION_LOADER(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CCM_TYPE_EXTENSION_LOADER))
 
34
#define CCM_IS_EXTENSION_LOADER_CLASS(klass)  (G_TYPE_CHECK_CLASS_TYPE ((klass), CCM_TYPE_EXTENSION_LOADER))
 
35
#define CCM_EXTENSION_LOADER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), CCM_TYPE_EXTENSION_LOADER, CCMExtensionLoaderClass))
 
36
 
 
37
typedef struct _CCMExtensionLoaderPrivate CCMExtensionLoaderPrivate;
 
38
typedef struct _CCMExtensionLoaderClass CCMExtensionLoaderClass;
 
39
typedef struct _CCMExtensionLoader CCMExtensionLoader;
 
40
 
 
41
struct _CCMExtensionLoaderClass
 
42
{
 
43
    GObjectClass parent_class;
 
44
};
 
45
 
 
46
struct _CCMExtensionLoader
 
47
{
 
48
    GObject parent_instance;
 
49
 
 
50
    CCMExtensionLoaderPrivate *priv;
 
51
};
 
52
 
 
53
GType               ccm_extension_loader_get_type (void) G_GNUC_CONST;
 
54
 
 
55
CCMExtensionLoader* ccm_extension_loader_new      ();
 
56
GSList*             ccm_extension_loader_get_preferences_plugins   (CCMExtensionLoader* self);
 
57
GSList*             ccm_extension_loader_get_screen_window_plugins (CCMExtensionLoader* self);
 
58
GSList*             ccm_extension_loader_get_screen_plugins        (CCMExtensionLoader* self,
 
59
                                                                    GSList* filter);
 
60
GSList*             ccm_extension_loader_get_window_plugins        (CCMExtensionLoader* self,
 
61
                                                                    GSList* filter);
 
62
void                ccm_extension_loader_add_plugin_path           (gchar * path);
 
63
 
 
64
G_END_DECLS
 
65
 
 
66
#endif                          /* _CCM_EXTENSION_LOADER_H_ */