aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator.h
diff options
context:
space:
mode:
Diffstat (limited to 'libindicator/indicator.h')
-rw-r--r--libindicator/indicator.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/libindicator/indicator.h b/libindicator/indicator.h
new file mode 100644
index 0000000..6940dfb
--- /dev/null
+++ b/libindicator/indicator.h
@@ -0,0 +1,25 @@
+
+#ifndef __LIBINDICATOR_INDICATOR_H_SEEN__
+#define __LIBINDICATOR_INDICATOR_H_SEEN__ 1
+
+#include <gtk/gtk.h>
+
+#define INDICATOR_GET_LABEL_S "get_label"
+typedef GtkLabel * (*get_label_t)(void);
+get_label_t get_label;
+
+#define INDICATOR_GET_ICON_S "get_icon"
+typedef GtkImage * (*get_icon_t) (void);
+get_icon_t get_icon;
+
+#define INDICATOR_GET_MENU_S "get_menu"
+typedef GtkMenu * (*get_menu_t) (void);
+get_menu_t get_menu;
+
+#define INDICATOR_VERSION "0.2.0"
+#define INDICATOR_SET_VERSION static gchar * indicator_version_symbol = INDICATOR_VERSION;
+#define INDICATOR_VERSION_S "indicator_version_symbol"
+#define INDICATOR_VERSION_CHECK(x) (!g_strcmp0(x, INDICATOR_VERSION))
+
+#endif /* __LIBINDICATOR_INDICATOR_H_SEEN__ */
+