aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/types.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-18 15:16:54 -0600
committerTed Gould <ted@gould.cx>2011-02-18 15:16:54 -0600
commitcf9662c5be75f9e7fe16e4fe9513ee3e4223fba0 (patch)
tree3826e98383439d174c5cb2ecbd3dcf01ef65cf62 /libdbusmenu-glib/types.h
parentf1263378cd61a113cdcc485c3a20e913f19f2631 (diff)
downloadlibdbusmenu-cf9662c5be75f9e7fe16e4fe9513ee3e4223fba0.tar.gz
libdbusmenu-cf9662c5be75f9e7fe16e4fe9513ee3e4223fba0.tar.bz2
libdbusmenu-cf9662c5be75f9e7fe16e4fe9513ee3e4223fba0.zip
Adding in a status enum for tracking the status
Diffstat (limited to 'libdbusmenu-glib/types.h')
-rw-r--r--libdbusmenu-glib/types.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libdbusmenu-glib/types.h b/libdbusmenu-glib/types.h
index f6d8daf..e573476 100644
--- a/libdbusmenu-glib/types.h
+++ b/libdbusmenu-glib/types.h
@@ -47,6 +47,17 @@ typedef enum { /*< prefix=DBUSMENU_TEXT_DIRECTION >*/
DBUSMENU_TEXT_DIRECTION_RTL /*< nick=rtl >*/
} DbusmenuTextDirection;
+/**
+ DbusmenuStatus:
+ @DBUSMENU_STATUS_NORMAL: Everything is normal
+ @DBUSMENU_STATUS_NOTICE: The menus should be shown at a higher priority
+
+ Tracks how the menus should be presented to the user.
+*/
+typedef enum { /*< prefix=DBUSMENU_STATUS >*/
+ DBUSMENU_STATUS_NORMAL, /*< nick=normal >*/
+ DBUSMENU_STATUS_NOTICE /*< nick=notice >*/
+} DbusmenuStatus;
G_END_DECLS