/*
* simple-brightness-applet - simple statusarea applet that allows the user to select the brightness from a range of 1-5
*
- * Copyright (c) 2009 Faheem Pervez <trippin1@gmail.com>
+ * Copyright (c) 2009-2010 Faheem Pervez <trippin1@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
*/
-#ifndef SIMPLE_BRIGHTNESS_APPLET_H
-#define SIMPLE_BRIGHTNESS_APPLET_H
+#ifndef __SIMPLE_BRIGHTNESS_APPLET_H__
+#define __SIMPLE_BRIGHTNESS_APPLET_H__
#include <glib.h>
#include <glib-object.h>
typedef struct _SimpleBrightnessApplet SimpleBrightnessApplet;
typedef struct _SimpleBrightnessAppletClass SimpleBrightnessAppletClass;
+typedef struct _SimpleBrightnessAppletPrivate SimpleBrightnessAppletPrivate;
struct _SimpleBrightnessApplet
{
- HDStatusMenuItem hitem;
+ HDStatusMenuItem hitem;
+
+ SimpleBrightnessAppletPrivate *priv;
};
struct _SimpleBrightnessAppletClass
{
- HDStatusMenuItemClass parent_class;
+ HDStatusMenuItemClass parent_class;
};
GType simple_brightness_applet_get_type (void);
-SimpleBrightnessApplet* simple_brightness_applet_new (void);
-
G_END_DECLS
-#endif /* SIMPLE_BRIGHTNESS_APPLET_H */
+#endif /* __SIMPLE_BRIGHTNESS_APPLET_H__ */