added a few libraries to get proper dependencies. is it a good idea?
[simple-launcher] / applet-wrapper.h
1 // This file is a part of Simple Launcher
2 //
3 // Copyright (C) 2006, 2007, Mikhail Sobolev
4 //
5 // Simple Launcher is free software; you can redistribute it and/or modify it
6 // under the terms of the GNU General Public License version 2 as published by
7 // the Free Software Foundation.
8 //
9 // This program is distributed in the hope that it will be useful, but WITHOUT
10 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 // FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
12 // more details.
13 //
14 // You should have received a copy of the GNU General Public License along with
15 // this program; if not, write to the Free Software Foundation, Inc., 51
16 // Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
17
18 #ifndef _APPLET_WRAPPER_H_
19 #define _APPLET_WRAPPER_H_
20
21 #include <libhildondesktop/hildon-desktop-home-item.h>
22
23 extern "C" {
24
25 typedef struct _SLAWrapper SLAWrapper;
26 typedef struct _SLAWrapperClass SLAWrapperClass;
27 typedef struct _SLAWrapperPrivate SLAWrapperPrivate;
28
29 #define SLA_TYPE_APPLET            (sla_wrapper_get_type())
30 #define SLA_APPLET(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SLA_TYPE_APPLET, SLAWrapper))
31 #define SLA_APPLET_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), SLA_TYPE_APPLET, SLAWrapperClass))
32 #define SLA_IS_APPLET(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), SLA_TYPE_APPLET))
33 #define SLA_IS_APPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), SLA_TYPE_APPLET))
34 #define SLA_APPLET_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj), SLA_TYPE_APPLET, SLAWrapperClass))
35
36 struct _SLAWrapper {
37   HildonDesktopHomeItem parent;
38   SLAWrapperPrivate *priv;
39 };
40
41 struct _SLAWrapperClass {
42   HildonDesktopHomeItemClass parent_class;
43 };
44
45   GType sla_wrapper_get_type(void);
46
47 };
48
49 #endif
50
51 // vim:ts=2:sw=2:et