aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/customer-tests/testplugins/timeplugin.cpp
diff options
context:
space:
mode:
authorMarja Hassinen <marja.hassinen@nokia.com>2010-12-20 14:31:04 +0200
committerMarja Hassinen <marja.hassinen@nokia.com>2010-12-20 14:31:04 +0200
commit9e20d7399511fbbca8a461742c2713b32e90fa57 (patch)
tree2a7a92f4fefdb49dbc85905ee181fe1606a8b08a /libcontextsubscriber/customer-tests/testplugins/timeplugin.cpp
parent01f32a6f1d58fb1837a465ebf2c4d81fb63bdf51 (diff)
lca, waitForSubscriptionAndBlock: making added iface funcs pure virtual.
The new contract between plugin & contextkit is: when we call waitUntilReadyAndBlock() on a plugin, it blocks for as long time as needed and then emits the ready() signal. So, the empty implementation doesn't make sense (no signal would be emitted).
Diffstat (limited to 'libcontextsubscriber/customer-tests/testplugins/timeplugin.cpp')
-rw-r--r--libcontextsubscriber/customer-tests/testplugins/timeplugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcontextsubscriber/customer-tests/testplugins/timeplugin.cpp b/libcontextsubscriber/customer-tests/testplugins/timeplugin.cpp
index 25780597..a33a7bdc 100644
--- a/libcontextsubscriber/customer-tests/testplugins/timeplugin.cpp
+++ b/libcontextsubscriber/customer-tests/testplugins/timeplugin.cpp
@@ -59,6 +59,10 @@ void TimePlugin::unsubscribe(QSet<QString> keys)
timer.stop();
}
+void TimePlugin::waitUntilReadyAndBlock()
+{
+}
+
void TimePlugin::waitForSubscriptionAndBlock(const QString& key)
{
}