1 // This file is a part of Simple Launcher
3 // Copyright (C) 2006, 2007, Mikhail Sobolev
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.
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
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
18 #ifndef _APPLET_WRAPPER_H_
19 #define _APPLET_WRAPPER_H_
21 #include <libhildondesktop/hildon-desktop-home-item.h>
25 typedef struct _SLAWrapper SLAWrapper;
26 typedef struct _SLAWrapperClass SLAWrapperClass;
27 typedef struct _SLAWrapperPrivate SLAWrapperPrivate;
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))
37 HildonDesktopHomeItem parent;
38 SLAWrapperPrivate *priv;
41 struct _SLAWrapperClass {
42 HildonDesktopHomeItemClass parent_class;
45 GType sla_wrapper_get_type(void);