1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
3 * Copyright (C) 2009 Artem Garmash. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program 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
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 * Contact: Artem Garmash <artemgarmash@gmail.com>
23 #ifndef __EL_HOME_APPLET_H__
24 #define __EL_HOME_APPLET_H__
26 #include <libhildondesktop/libhildondesktop.h>
30 #define EL_TYPE_HOME_APPLET (el_home_applet_get_type ())
31 #define EL_HOME_APPLET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EL_TYPE_HOME_APPLET, ELHomeApplet))
32 #define EL_HOME_APPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EL_TYPE_HOME_APPLET, ELHomeAppletClass))
33 #define EL_IS_HOME_APPLET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EL_TYPE_HOME_APPLET))
34 #define EL_IS_HOME_APPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EL_TYPE_HOME_APPLET))
35 #define EL_HOME_APPLET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EL_TYPE_HOME_APPLET, ELHomeAppletClass))
37 typedef struct _ELHomeApplet ELHomeApplet;
38 typedef struct _ELHomeAppletClass ELHomeAppletClass;
39 typedef struct _ELHomeAppletPrivate ELHomeAppletPrivate;
43 HDHomePluginItem parent;
45 ELHomeAppletPrivate *priv;
48 struct _ELHomeAppletClass
50 HDHomePluginItemClass parent;
53 GType el_home_applet_get_type (void);