Added classes for Notifications (Sound playback use case)
authorMohammed Sameer <msameer@foolab.org>
Sun, 23 Sep 2012 13:23:59 +0000 (16:23 +0300)
committerMohammed Sameer <msameer@foolab.org>
Sun, 23 Sep 2012 21:22:05 +0000 (00:22 +0300)
commit78aac077c3af3ec08d3dca630040914929c94f28
tree2e521bcbd4c292a096b3bb51d63a14b5ba5fad98
parent206a980ab4f3a31f19929df50f1ab0a2175fd6c7
Added classes for Notifications (Sound playback use case)

The main class is QtCamNotifications which emits various signals when
image capture starts and ends and video recording starts and ends.

QML bindings consist of a Notifications interface and a notifications property
for Camera element.

We cannot use simple signals because at least the image capture start notification
gets emitted from another thread for performance reasons.
16 files changed:
imports/camera.cpp
imports/camera.h
imports/imports.pro
imports/notifications.cpp [new file with mode: 0644]
imports/notifications.h [new file with mode: 0644]
imports/notificationscontainer.cpp [new file with mode: 0644]
imports/notificationscontainer.h [new file with mode: 0644]
imports/plugin.cpp
lib/lib.pro
lib/qtcamdevice.cpp
lib/qtcamdevice.h
lib/qtcamdevice_p.h
lib/qtcamgstreamermessagelistener.cpp
lib/qtcamnotifications.cpp [new file with mode: 0644]
lib/qtcamnotifications.h [new file with mode: 0644]
lib/qtcamvideomode.cpp