From 38a25bb40b18fc820157d9af832daf08bbc7cd9e Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 5 Mar 2012 10:49:37 +0100 Subject: Use property notification instead of signal Up to this point we used a custom signal to notify about starting and stopping recording of data. However, such signals come (almost) for free for each property. This way, you can query "is-recording" but also be notified when "is-recording" was changed by the camera itself. --- test/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index b853cb5..4ee097b 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -51,9 +51,9 @@ target_link_libraries(test-gobject ${GOBJECT2_LIBRARIES} ) -#add_executable(test-mock test-mock.c) -#target_link_libraries(test-mock -# uca-gobject -# ${GLIB2_LIBRARIES} -# ${GOBJECT2_LIBRARIES} -# ) +add_executable(test-mock test-mock.c) +target_link_libraries(test-mock + uca-gobject + ${GLIB2_LIBRARIES} + ${GOBJECT2_LIBRARIES} + ) -- cgit v1.2.3