src/hbcore/core/hbinstance_p.h
changeset 7 923ff622b8b9
parent 5 627c4a0fd0e7
child 21 4633027730f5
equal deleted inserted replaced
6:c3690ec91ef8 7:923ff622b8b9
    35 class TestabilityInterface;
    35 class TestabilityInterface;
    36 #endif //HB_TESTABILITY
    36 #endif //HB_TESTABILITY
    37 
    37 
    38 #ifdef Q_OS_SYMBIAN
    38 #ifdef Q_OS_SYMBIAN
    39 #include <centralrepository.h>
    39 #include <centralrepository.h>
       
    40 #include <systemtoneservice.h>
       
    41 
    40 const TUid HBTESTABILITY_CREPO_ID  = {0x2002C3AE};
    42 const TUid HBTESTABILITY_CREPO_ID  = {0x2002C3AE};
    41 const TUint32 HbTestabilityKey  = 0x1;
    43 const TUint32 HbTestabilityKey  = 0x1;
    42 #endif
    44 #endif
    43 
    45 
    44 class HbLocaleChangeNotifier;
    46 class HbLocaleChangeNotifier;
       
    47 class CSystemToneService;
    45 
    48 
    46 class HbInstancePrivate : public QObject
    49 class HbInstancePrivate : public QObject
    47 {
    50 {
    48     Q_OBJECT
    51     Q_OBJECT
    49 
    52 
    52     ~HbInstancePrivate();
    55     ~HbInstancePrivate();
    53     void addWindow(HbMainWindow *window);
    56     void addWindow(HbMainWindow *window);
    54     bool removeWindow(HbMainWindow *window);
    57     bool removeWindow(HbMainWindow *window);
    55     void select(const HbDeviceProfile &display);
    58     void select(const HbDeviceProfile &display);
    56     HbDeviceProfile profile();
    59     HbDeviceProfile profile();
    57 
    60 	  CSystemToneService *systemTone();
    58     void initLibraryPaths();
    61     void initLibraryPaths();
    59 
    62 
    60 public slots:
    63 public slots:
    61     void updateScenes();
    64     void updateScenes();
    62 #ifdef HB_SETTINGS_WINDOW
    65 #ifdef HB_SETTINGS_WINDOW
    86 #ifdef HB_TESTABILITY
    89 #ifdef HB_TESTABILITY
    87     TestabilityInterface *testabilityInterface;
    90     TestabilityInterface *testabilityInterface;
    88 #ifdef Q_OS_SYMBIAN
    91 #ifdef Q_OS_SYMBIAN
    89     CRepository *mRepo;
    92     CRepository *mRepo;
    90     bool testabilityEnabled;
    93     bool testabilityEnabled;
       
    94 	CSystemToneService *mSts;
    91 #endif //Q_OS_SYMBIAN
    95 #endif //Q_OS_SYMBIAN
    92 #endif //HB_TESTABILITY
    96 #endif //HB_TESTABILITY
    93 
    97 
    94     HbLocaleChangeNotifier *mLocaleChangeNotifier;
    98     HbLocaleChangeNotifier *mLocaleChangeNotifier;
    95 
    99 
   106     friend class HbApplication;
   110     friend class HbApplication;
   107     friend class HbFontSpecPrivate;
   111     friend class HbFontSpecPrivate;
   108     friend class HbEffectPrivate;
   112     friend class HbEffectPrivate;
   109     friend class HbMainWindowOrientation;
   113     friend class HbMainWindowOrientation;
   110     friend class HbWidgetStyleLoader;
   114     friend class HbWidgetStyleLoader;
       
   115     friend class HbPopupPrivate;
   111 };
   116 };
   112 
   117 
   113 #endif // HBINSTANCE_P_H
   118 #endif // HBINSTANCE_P_H