aboutsummaryrefslogtreecommitdiff
path: root/src/ServerUtils.h
diff options
context:
space:
mode:
authorPaul Nettle <nettle.paul@gmail.com>2017-09-01 13:23:34 -0500
committerPaul Nettle <nettle.paul@gmail.com>2017-09-01 13:23:34 -0500
commit322aeccbe9065863246078da3a945e8f9983d2c5 (patch)
tree5288c9f4a338e80e6e9ac4ed9e682536b3e6871d /src/ServerUtils.h
parentRemoved null-terminators from strings being built into Variants as byte arrays. (diff)
downloadgobbledegook-322aeccbe9065863246078da3a945e8f9983d2c5.tar.gz
gobbledegook-322aeccbe9065863246078da3a945e8f9983d2c5.tar.bz2
gobbledegook-322aeccbe9065863246078da3a945e8f9983d2c5.zip
Cleaned up the logging a bit, improved server termination status returned from ggkWait.
Diffstat (limited to 'src/ServerUtils.h')
-rw-r--r--src/ServerUtils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ServerUtils.h b/src/ServerUtils.h
index 3ab9511..1b6c5be 100644
--- a/src/ServerUtils.h
+++ b/src/ServerUtils.h
@@ -37,6 +37,8 @@
#include <gio/gio.h>
#include <string>
+namespace ggk {
+
struct ServerUtils
{
// Builds the response to the method call `GetManagedObjects` from the D-Bus interface `org.freedesktop.DBus.ObjectManager`
@@ -60,3 +62,5 @@ struct ServerUtils
// See: https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.local_time_information.xml
static GVariant *gvariantLocalTime();
};
+
+}; // namespace ggk \ No newline at end of file