diff options
Diffstat (limited to 'unity-shared')
| -rw-r--r-- | unity-shared/DebugDBusInterface.cpp | 8 | 
1 files changed, 8 insertions, 0 deletions
| 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 =  " <arg type='a(sv)' name='state' direction='out' />"  " </method>"  "" + " <method name='GetVersion'>" + " <arg type='s' name='version' direction='out' />" + " </method>" + ""  " </interface>"  ""  " <interface name='com.canonical.Unity.Debug.Logging'>" @@ -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; | 
