aboutsummaryrefslogtreecommitdiff
path: root/libcontextsubscriber/customer-tests/testplugins/timeplugin.h
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.h
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.h')
-rw-r--r--libcontextsubscriber/customer-tests/testplugins/timeplugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcontextsubscriber/customer-tests/testplugins/timeplugin.h b/libcontextsubscriber/customer-tests/testplugins/timeplugin.h
index 4ba293b4..95c4c179 100644
--- a/libcontextsubscriber/customer-tests/testplugins/timeplugin.h
+++ b/libcontextsubscriber/customer-tests/testplugins/timeplugin.h
@@ -46,6 +46,7 @@ public:
explicit TimePlugin();
virtual void subscribe(QSet<QString> keys);
virtual void unsubscribe(QSet<QString> keys);
+ virtual void waitUntilReadyAndBlock();
virtual void waitForSubscriptionAndBlock(const QString& key);
private Q_SLOTS: