initial git release
[lcreminder] / src / lens-cover-reminder-sp.h
1 /*
2  *  lenscover reminder statusbar plugin.
3  *  Copyright (C) 2010 Nicolai Hess
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 #ifndef _LENS_COVER_REMINDER_H
20 #define _LENS_COVER_REMINDER_H
21
22 #include <libhildondesktop/libhildondesktop.h>
23
24 G_BEGIN_DECLS
25
26 #define TYPE_LENS_COVER_STATUS_PLUGIN (lens_cover_status_plugin_get_type())
27
28 #define LENS_COVER_STATUS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
29                                                                   TYPE_LENS_COVER_STATUS_PLUGIN, LensCoverStatusPlugin))
30
31 #define LENS_COVER_STATUS_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
32                                                                        TYPE_LENS_COVER_STATUS_PLUGIN, StatusPluginClass))
33
34 #define IS_LENS_COVER_STATUS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
35                                                                      TYPE_LENS_COVER_STATUS_PLUGIN))
36
37 #define IS_LENS_COVER_STATUS_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
38                                                                            TYPE_LENS_COVER_STATUS_PLUGIN))
39
40
41 typedef struct _LensCoverStatusPlugin LensCoverStatusPlugin;
42 typedef struct _LensCoverStatusPluginClass LensCoverStatusPluginClass;
43 typedef struct _LensCoverStatusPluginPrivate LensCoverStatusPluginPrivate;
44
45 struct _LensCoverStatusPlugin
46 {
47   HDStatusMenuItem parent;
48   LensCoverStatusPluginPrivate* priv;
49 };
50
51 struct _LensCoverStatusPluginClass
52 {
53   HDStatusMenuItemClass parent;
54 };
55
56 GType lens_cover_status_plugin_get_type(void);
57
58 G_END_DECLS
59 #endif