2 * lenscover reminder statusbar plugin.
3 * Copyright (C) 2010 Nicolai Hess
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 #ifndef _LENS_COVER_REMINDER_H
20 #define _LENS_COVER_REMINDER_H
22 #include <libhildondesktop/libhildondesktop.h>
26 #define TYPE_LENS_COVER_STATUS_PLUGIN (lens_cover_status_plugin_get_type())
28 #define LENS_COVER_STATUS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
29 TYPE_LENS_COVER_STATUS_PLUGIN, LensCoverStatusPlugin))
31 #define LENS_COVER_STATUS_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
32 TYPE_LENS_COVER_STATUS_PLUGIN, StatusPluginClass))
34 #define IS_LENS_COVER_STATUS_PLUGIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
35 TYPE_LENS_COVER_STATUS_PLUGIN))
37 #define IS_LENS_COVER_STATUS_PLUGIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
38 TYPE_LENS_COVER_STATUS_PLUGIN))
41 typedef struct _LensCoverStatusPlugin LensCoverStatusPlugin;
42 typedef struct _LensCoverStatusPluginClass LensCoverStatusPluginClass;
43 typedef struct _LensCoverStatusPluginPrivate LensCoverStatusPluginPrivate;
45 struct _LensCoverStatusPlugin
47 HDStatusMenuItem parent;
48 LensCoverStatusPluginPrivate* priv;
51 struct _LensCoverStatusPluginClass
53 HDStatusMenuItemClass parent;
56 GType lens_cover_status_plugin_get_type(void);