summaryrefslogtreecommitdiff
path: root/include/CommonAPI/DBus/DBusMainLoopContext.hpp
diff options
context:
space:
mode:
authorJürgen Gehring <juergen.gehring@bmw.de>2015-07-29 00:04:02 -0700
committerJürgen Gehring <juergen.gehring@bmw.de>2015-07-29 00:04:02 -0700
commitdb96446ece67ba1f495811e29838e8c7bc7984ff (patch)
treead49d3368287caf7d201057989db4bd19e37fd0c /include/CommonAPI/DBus/DBusMainLoopContext.hpp
parent49d0b428ca19852d49965f35328a314f22d88807 (diff)
downloadgenivi-common-api-dbus-runtime-db96446ece67ba1f495811e29838e8c7bc7984ff.tar.gz
CommonAPI-D-Bus 3.1.33.1.3
Diffstat (limited to 'include/CommonAPI/DBus/DBusMainLoopContext.hpp')
-rw-r--r--include/CommonAPI/DBus/DBusMainLoopContext.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/CommonAPI/DBus/DBusMainLoopContext.hpp b/include/CommonAPI/DBus/DBusMainLoopContext.hpp
index 9230cd2..27428db 100644
--- a/include/CommonAPI/DBus/DBusMainLoopContext.hpp
+++ b/include/CommonAPI/DBus/DBusMainLoopContext.hpp
@@ -47,6 +47,10 @@ class DBusWatch: public Watch {
const pollfd& getAssociatedFileDescriptor();
+#ifdef WIN32
+ const HANDLE& getAssociatedEvent();
+#endif
+
const std::vector<DispatchSource*>& getDependentDispatchSources();
void addDependentDispatchSource(DispatchSource* dispatchSource);
private:
@@ -57,6 +61,10 @@ class DBusWatch: public Watch {
std::vector<DispatchSource*> dependentDispatchSources_;
std::weak_ptr<MainLoopContext> mainLoopContext_;
+
+#ifdef WIN32
+ HANDLE wsaEvent_;
+#endif
};