summaryrefslogtreecommitdiff
path: root/libdbus-qeventloop
diff options
context:
space:
mode:
authorKrisztian Litkey <krisztian.litkey@nokia.com>2010-07-23 10:19:27 +0300
committerKrisztian Litkey <krisztian.litkey@nokia.com>2010-07-23 10:19:27 +0300
commitb0c62959130d3edf81a2510df3103945a6ba6ac1 (patch)
tree61c6b82ef0034d30a9b45d5402d46db9cedacff8 /libdbus-qeventloop
parent40677565abd199df7bca3b5525ef0a5db44b928c (diff)
downloadlibresourceqt-b0c62959130d3edf81a2510df3103945a6ba6ac1.tar.gz
Added accessor for classInstance for the camera guys.
Diffstat (limited to 'libdbus-qeventloop')
-rw-r--r--libdbus-qeventloop/dbusconnectioneventloop.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libdbus-qeventloop/dbusconnectioneventloop.h b/libdbus-qeventloop/dbusconnectioneventloop.h
index d44f667..13259c3 100644
--- a/libdbus-qeventloop/dbusconnectioneventloop.h
+++ b/libdbus-qeventloop/dbusconnectioneventloop.h
@@ -63,6 +63,10 @@ public:
static bool addConnection(DBusConnection* conn);
static void removeConnection(DBusConnection* conn);
+ static DBUSConnectionEventLoop &getInstance(void) {
+ return classInstance;
+ }
+
private:
bool internalAddConnection(DBusConnection* conn);
void internalRemoveConnection(DBusConnection* conn);