Update copyright info
[sbrightapplet] / src / simple-brightness-applet.h
index 344b85e..b7ec54c 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * simple-brightness-applet - simple statusarea applet that allows the user to select the brightness from a range of 1-5
  *
 /*
  * 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
  *
  * 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
@@ -20,8 +20,8 @@
  *
  */
 
  *
  */
 
-#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>
 
 #include <glib.h>
 #include <glib-object.h>
@@ -48,22 +48,23 @@ G_BEGIN_DECLS
 
 typedef struct _SimpleBrightnessApplet SimpleBrightnessApplet;
 typedef struct _SimpleBrightnessAppletClass SimpleBrightnessAppletClass;
 
 typedef struct _SimpleBrightnessApplet SimpleBrightnessApplet;
 typedef struct _SimpleBrightnessAppletClass SimpleBrightnessAppletClass;
+typedef struct _SimpleBrightnessAppletPrivate SimpleBrightnessAppletPrivate;
 
 struct _SimpleBrightnessApplet
 {
 
 struct _SimpleBrightnessApplet
 {
-    HDStatusMenuItem hitem;
+       HDStatusMenuItem hitem;
+
+       SimpleBrightnessAppletPrivate *priv;
 };
 
 struct _SimpleBrightnessAppletClass
 {
 };
 
 struct _SimpleBrightnessAppletClass
 {
-    HDStatusMenuItemClass parent_class;
+       HDStatusMenuItemClass parent_class;
 };
 
 GType simple_brightness_applet_get_type (void);
 
 };
 
 GType simple_brightness_applet_get_type (void);
 
-SimpleBrightnessApplet* simple_brightness_applet_new (void);
-
 G_END_DECLS
 
 G_END_DECLS
 
-#endif /* SIMPLE_BRIGHTNESS_APPLET_H */
+#endif /* __SIMPLE_BRIGHTNESS_APPLET_H__ */