From bcc7170a63acbc4c5350e5deb9f302fb41fd48c2 Mon Sep 17 00:00:00 2001 From: Thomi Richards Date: Tue, 7 May 2013 09:34:25 +1200 Subject: Added GetVersion method. (bzr r3316.3.1) --- unity-shared/DebugDBusInterface.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/unity-shared/DebugDBusInterface.cpp b/unity-shared/DebugDBusInterface.cpp index 41f8fc974..8d6888433 100644 --- a/unity-shared/DebugDBusInterface.cpp +++ b/unity-shared/DebugDBusInterface.cpp @@ -69,6 +69,10 @@ const std::string INTROSPECTION_XML = " " " " "" + " " + " " + " " + "" " " "" " " @@ -116,6 +120,10 @@ GVariant* DebugDBusInterface::HandleDBusMethodCall(std::string const& method, GV return GetState(input); } + else if (method == "GetVersion") + { + return g_variant_new("(s)", "1.2"); + } else if (method == "StartLogToFile") { const gchar* log_path; -- cgit v1.2.3