From 23e46d2de44a3d49063e852a38b020e7407a78bc Mon Sep 17 00:00:00 2001 From: Paul Nettle Date: Sun, 3 Sep 2017 08:15:12 -0500 Subject: The GGK server names are no longer in Globals.h but are now configured by ggkStart() allowing an application to change them based on configuration rather than compilation. Power-off-disconnect errors hacked out of existence. A few log lines that were set to trace converted to debug log levels to reduce logspam. --- src/standalone.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/standalone.cpp') diff --git a/src/standalone.cpp b/src/standalone.cpp index c8af5d6..3c4968c 100644 --- a/src/standalone.cpp +++ b/src/standalone.cpp @@ -293,7 +293,13 @@ int main(int argc, char **ppArgv) // Start the server's ascync processing // // This starts the server on a thread and begins the initialization process - if (!ggkStart(dataGetter, dataSetter, kMaxAsyncInitTimeoutMS)) + // + // !!!IMPORTANT!!! + // + // This first parameter (the service name) must match tha name configured in the D-Bus permissions. See the Readme.md file + // for more information. + // + if (!ggkStart("gobbledegook", "Gobbledegook", "Gobbledegook", dataGetter, dataSetter, kMaxAsyncInitTimeoutMS)) { return -1; } -- cgit v1.2.3