Displaying 1 result from an estimated 1 matches for "dbushandlegetcoreinfomessage".
2007 May 17
0
[PATCH] Add getCoreInfo function
...eturns (s)programName, (i)ABIVERSION, (s)PLUGINDIR, (s)HOME_PLUGINDIR,
+ * (s)METADATADIR
+ *
+ * Example:
+ *
+ * dbus-send --print-reply --type=method_call \
+ * --dest=org.freedesktop.compiz \
+ * /org/freedesktop/compiz \
+ * org.freedesktop.compiz.getCoreInfo
+ */
+static Bool
+dbusHandleGetCoreInfoMessage (DBusConnection *connection,
+ DBusMessage *message,
+ CompDisplay *d)
+{
+ DBusMessage *reply;
+ const char *pluginDir = PLUGINDIR;
+ const char *homePluginDir = HOME_PLUGINDIR;
+ const char *metadataDir = METADATADIR;
+ int version = ABIVERSION;
+
+ reply = d...