iOS: Implement socket notifiers.
authorMorten Johan Sørvig <morten.sorvig@digia.com>
Fri, 15 Feb 2013 10:25:39 +0000 (11:25 +0100)
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>
Wed, 27 Feb 2013 22:56:10 +0000 (23:56 +0100)
commitaa5528b050472d1d1097e2665fb346232cbfa7e5
treee7c0b081141a808465b60077165adb2e60cd7bed
parent0c1ae5f8660941fed55c468487635c9a74846f7a
iOS: Implement socket notifiers.

Create the QCFSocketNotifier class in platform support
which contains shared socket notifier support for
the Cocoa and iOS plugins. Remove the old code from
the Cocoa plugin.

The Cocoa code had one QCocoaEventDispatcher-specific
call: maybeCancelWaitForMoreEvents. Create a forwarding
function that is passed to QCFSocketNotifier.

Change-Id: Ibf9bd4745ba4f577a55f13d0cc00f5ae04447405
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
src/platformsupport/cfsocketnotifier/cfsocketnotifier.pri [new file with mode: 0644]
src/platformsupport/cfsocketnotifier/qcfsocketnotifier.cpp [new file with mode: 0644]
src/platformsupport/cfsocketnotifier/qcfsocketnotifier_p.h [new file with mode: 0644]
src/platformsupport/platformsupport.pro
src/plugins/platforms/cocoa/qcocoaeventdispatcher.h
src/plugins/platforms/cocoa/qcocoaeventdispatcher.mm
src/plugins/platforms/ios/qioseventdispatcher.h
src/plugins/platforms/ios/qioseventdispatcher.mm