homescreenapp/runtimeplugins/hsdefaultruntimeplugin/inc/hsdefaultruntime.h
changeset 36 cdae8c6c3876
parent 35 f9ce957a272c
child 39 4e8ebe173323
--- a/homescreenapp/runtimeplugins/hsdefaultruntimeplugin/inc/hsdefaultruntime.h	Fri Mar 19 09:27:44 2010 +0200
+++ b/homescreenapp/runtimeplugins/hsdefaultruntimeplugin/inc/hsdefaultruntime.h	Fri Apr 16 14:54:01 2010 +0300
@@ -19,6 +19,7 @@
 #define HSDEFAULTRUNTIME_H
 
 #include <QStateMachine>
+#include <qmobilityglobal.h>
 
 #ifndef HSDEFAULTRUNTIMEPLUGIN_UNITTEST
 	#define TEST_CLASS_FWD
@@ -29,6 +30,11 @@
 #endif
 
 class HsContentService;
+QTM_BEGIN_NAMESPACE
+class QValueSpacePublisher;
+QTM_END_NAMESPACE
+
+QTM_USE_NAMESPACE
 
 TEST_CLASS_FWD
 
@@ -49,6 +55,7 @@
 private:
     Q_DISABLE_COPY(HsDefaultRuntime)
 
+    void createStatePublisher();
     void createContentServiceParts();
     void createStates();
     void assignServices();
@@ -63,6 +70,8 @@
 	
 	bool mHomeScreenActive;
 	bool mIdleStateActive;
+
+	QValueSpacePublisher *mPublisher;
     
     TEST_FRIEND
 };