homescreenapp/runtimeplugins/hsdefaultruntimeplugin/inc/hsdefaultruntime.h
changeset 39 4e8ebe173323
parent 36 cdae8c6c3876
child 46 23b5d6a29cce
equal deleted inserted replaced
36:cdae8c6c3876 39:4e8ebe173323
    18 #ifndef HSDEFAULTRUNTIME_H
    18 #ifndef HSDEFAULTRUNTIME_H
    19 #define HSDEFAULTRUNTIME_H
    19 #define HSDEFAULTRUNTIME_H
    20 
    20 
    21 #include <QStateMachine>
    21 #include <QStateMachine>
    22 #include <qmobilityglobal.h>
    22 #include <qmobilityglobal.h>
       
    23 
       
    24 #ifdef Q_OS_SYMBIAN
       
    25 #include <xqkeycapture.h>
       
    26 #endif
    23 
    27 
    24 #ifndef HSDEFAULTRUNTIMEPLUGIN_UNITTEST
    28 #ifndef HSDEFAULTRUNTIMEPLUGIN_UNITTEST
    25 	#define TEST_CLASS_FWD
    29 	#define TEST_CLASS_FWD
    26 	#define TEST_FRIEND
    30 	#define TEST_FRIEND
    27 #else
    31 #else
    53     bool eventFilter(QObject *watched, QEvent *event);
    57     bool eventFilter(QObject *watched, QEvent *event);
    54 
    58 
    55 private:
    59 private:
    56     Q_DISABLE_COPY(HsDefaultRuntime)
    60     Q_DISABLE_COPY(HsDefaultRuntime)
    57 
    61 
       
    62     void registerAnimations();
       
    63 
    58     void createStatePublisher();
    64     void createStatePublisher();
    59     void createContentServiceParts();
    65     void createContentServiceParts();
    60     void createStates();
    66     void createStates();
    61     void assignServices();
    67     void assignServices();
    62 	void updatePSKeys();
    68 	void updatePSKeys();
    70 	
    76 	
    71 	bool mHomeScreenActive;
    77 	bool mHomeScreenActive;
    72 	bool mIdleStateActive;
    78 	bool mIdleStateActive;
    73 
    79 
    74 	QValueSpacePublisher *mPublisher;
    80 	QValueSpacePublisher *mPublisher;
       
    81 	
       
    82 #ifdef Q_OS_SYMBIAN
       
    83     XqKeyCapture keyCapture;
       
    84 #endif
    75     
    85     
    76     TEST_FRIEND
    86     TEST_FRIEND
    77 };
    87 };
    78 
    88 
    79 #endif
    89 #endif