Initial Import
[profile/ivi/clutter-toys.git] / attic / astro-desktop / src / astro-applet-manager.h
1 /*
2  * Copyright (C) 2007 OpenedHand Limited
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  *
19  * Author: Neil Jagdish Patel <njp@o-hand.com>
20  */
21
22
23 #include <glib.h>
24 #include <clutter/clutter.h>
25
26 #ifndef _HAVE_ASTRO_APPLET_MANAGER_H
27 #define _HAVE_ASTRO_APPLET_MANAGER_H
28
29 G_BEGIN_DECLS
30
31 #define ASTRO_TYPE_APPLET_MANAGER astro_applet_manager_get_type()
32
33 #define ASTRO_APPLET_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
34   ASTRO_TYPE_APPLET_MANAGER, \
35   AstroAppletManager))
36
37 #define ASTRO_APPLET_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),\
38   ASTRO_TYPE_APPLET_MANAGER, \
39   AstroAppletManagerClass))
40
41 #define ASTRO_IS_APPLET_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
42   ASTRO_TYPE_APPLET_MANAGER))
43
44 #define ASTRO_IS_APPLET_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
45   ASTRO_TYPE_APPLET_MANAGER))
46
47 #define ASTRO_APPLET_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),\
48   ASTRO_TYPE_APPLET_MANAGER, \
49   AstroAppletManagerClass))
50
51 typedef struct _AstroAppletManager AstroAppletManager;
52 typedef struct _AstroAppletManagerClass AstroAppletManagerClass;
53 typedef struct _AstroAppletManagerPrivate AstroAppletManagerPrivate;
54
55 struct _AstroAppletManager
56 {
57   ClutterGroup         parent;
58         
59   /*< private >*/
60   AstroAppletManagerPrivate   *priv;
61 };
62
63 struct _AstroAppletManagerClass 
64 {
65   /*< private >*/
66   ClutterGroupClass parent_class;
67 }; 
68
69 GType astro_applet_manager_get_type (void) G_GNUC_CONST;
70
71 ClutterActor *  astro_applet_manager_new       (void);
72
73 G_END_DECLS
74
75 #endif