qtd3dservice: Add triggers for Windows Phone devices and emulators
authorAndrew Knight <andrew.knight@digia.com>
Tue, 4 Mar 2014 11:47:17 +0000 (13:47 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 4 Mar 2014 12:56:08 +0000 (13:56 +0100)
commit81caabf664fa368ee99d5f802c4d2ab8e9cd6a83
tree89c45fc91c8c58e5d0088bc0ea03c3697019e36d
parentd770b7022841e2db732193eabeb0abd2cad6562b
qtd3dservice: Add triggers for Windows Phone devices and emulators

This adds event triggers which allow for detecting when a device or
emulator is activated. When a device comes online, it is checked for
applications, and workers are created to monitor each application.

This changes the behavior for device connections. Instead of retrying the
connection repeatedly for 30 seconds, the worker returns after the first
failure. This is acceptable, because the worker will automatically be
reactivated when the device comes online.

Change-Id: Idab622d85de314edd18fad8bf721cbae1c17ca75
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
src/qtd3dservice/d3dservice.cpp
src/qtd3dservice/qtd3dservice.pro
src/qtd3dservice/xaphandler.cpp