aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-18 15:28:00 -0600
committerTed Gould <ted@gould.cx>2011-02-18 15:28:00 -0600
commit6401d13aa0455b609b9f3b8c67c1d985c4c0fd8d (patch)
treefad1402937545bb77197748f0e0fd5128f04faae
parentcf9662c5be75f9e7fe16e4fe9513ee3e4223fba0 (diff)
downloadlibdbusmenu-6401d13aa0455b609b9f3b8c67c1d985c4c0fd8d.tar.gz
libdbusmenu-6401d13aa0455b609b9f3b8c67c1d985c4c0fd8d.tar.bz2
libdbusmenu-6401d13aa0455b609b9f3b8c67c1d985c4c0fd8d.zip
Adding in some stub functions for the status
-rw-r--r--libdbusmenu-glib/server.c28
-rw-r--r--libdbusmenu-glib/server.h3
2 files changed, 31 insertions, 0 deletions
diff --git a/libdbusmenu-glib/server.c b/libdbusmenu-glib/server.c
index baae3ce..57e4c79 100644
--- a/libdbusmenu-glib/server.c
+++ b/libdbusmenu-glib/server.c
@@ -1606,3 +1606,31 @@ dbusmenu_server_set_text_direction (DbusmenuServer * server, DbusmenuTextDirecti
return;
}
+/**
+ dbusmenu_server_get_status:
+ @server: The #DbusmenuServer to get the status from
+
+ Gets the current statust hat the server is sending out over
+ DBus.
+
+ Return value: The current status the server is sending
+*/
+DbusmenuStatus
+dbusmenu_server_get_status (DbusmenuServer * server)
+{
+
+ return DBUSMENU_STATUS_NORMAL;
+}
+
+/**
+ dbusmenu_server_set_status:
+ @server: The #DbusmenuServer to set the status on
+
+ Changes the status of the server.
+*/
+void
+dbusmenu_server_set_status (DbusmenuServer * server, DbusmenuStatus status)
+{
+
+ return;
+}
diff --git a/libdbusmenu-glib/server.h b/libdbusmenu-glib/server.h
index 7923b45..6441570 100644
--- a/libdbusmenu-glib/server.h
+++ b/libdbusmenu-glib/server.h
@@ -115,6 +115,9 @@ void dbusmenu_server_set_root (DbusmenuServer *
DbusmenuTextDirection dbusmenu_server_get_text_direction (DbusmenuServer * server);
void dbusmenu_server_set_text_direction (DbusmenuServer * server,
DbusmenuTextDirection dir);
+DbusmenuStatus dbusmenu_server_get_status (DbusmenuServer * server);
+void dbusmenu_server_set_status (DbusmenuServer * server,
+ DbusmenuStatus status);
/**
SECIONT:server