Initial commit
[conv-inbox] / src / el-home-applet.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
2 /*
3  *  Copyright (C) 2009 Artem Garmash. All rights reserved.
4  *
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.
9  *
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.
14  *
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
18  *
19  * Contact: Artem Garmash <artemgarmash@gmail.com>
20  *
21  */
22
23 #ifndef __EL_HOME_APPLET_H__
24 #define __EL_HOME_APPLET_H__
25
26 #include <libhildondesktop/libhildondesktop.h>
27
28 G_BEGIN_DECLS
29
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))
36
37 typedef struct _ELHomeApplet        ELHomeApplet;
38 typedef struct _ELHomeAppletClass   ELHomeAppletClass;
39 typedef struct _ELHomeAppletPrivate ELHomeAppletPrivate;
40
41 struct _ELHomeApplet
42 {
43         HDHomePluginItem parent;
44
45         ELHomeAppletPrivate  *priv;
46 };
47
48 struct _ELHomeAppletClass
49 {
50         HDHomePluginItemClass parent;
51 };
52
53 GType el_home_applet_get_type (void);
54
55 G_END_DECLS
56
57 #endif