logsui/logsapp/inc/logsapplication.h
changeset 20 6a40edd41841
parent 19 e4c884866116
equal deleted inserted replaced
19:e4c884866116 20:6a40edd41841
    19 #define LOGSAPPLICATION_H
    19 #define LOGSAPPLICATION_H
    20 
    20 
    21 #include <QObject>
    21 #include <QObject>
    22 #include <hbapplication.h>
    22 #include <hbapplication.h>
    23 
    23 
       
    24 class LogsAppSettings;
       
    25 
    24 class LogsApplication : public HbApplication
    26 class LogsApplication : public HbApplication
    25 {
    27 {
    26     Q_OBJECT
    28     Q_OBJECT
    27 
    29 
    28 public:
    30 public:
    29     LogsApplication(int &argc, char *argv[]);
    31     LogsApplication(int &argc, char *argv[], LogsAppSettings& settings);
    30     ~LogsApplication();
    32     ~LogsApplication();
    31     
       
    32     bool logsFeaturePreloadingEnabled();
       
    33     bool logsFeatureFakeExitEnabled();
       
    34 
    33 
    35 public slots: // from HbApplication
    34 public slots:
    36 
    35 
    37     void testLogsAppEngineReady();
    36     void testLogsAppEngineReady();
    38     void testLogsHandleAppViewReady();
    37     void testLogsHandleAppViewReady();
       
    38     void testLogsResetAppReady();
       
    39     
    39 signals:
    40 signals:
    40     /*!
    41     /*!
    41     * Testing framework support.
    42     * Testing framework support.
    42     * Application ready signal is emitted after startup when UI is fully loaded and functional.
    43     * Application ready signal is emitted after startup when UI is fully loaded and functional.
    43     */
    44     */
    45     
    46     
    46 private: //data for appplicationReady signal
    47 private: //data for appplicationReady signal
    47     bool mViewReady;
    48     bool mViewReady;
    48     bool mReadCompleted;
    49     bool mReadCompleted;
    49     
    50     
    50     // Temporary "feature" flags, to be replaced by real flags once those are known
       
    51     bool mFeaturePreloadedEnabled;
       
    52     bool mFeatureFakeExitEnabled;
       
    53     
       
    54     friend class UT_LogsApplication;
    51     friend class UT_LogsApplication;
    55     friend class UT_LogsViewManager;
    52     friend class UT_LogsViewManager;
    56 };
    53 };
    57 
    54 
    58 #endif // LOGSAPPLICATION_H
    55 #endif // LOGSAPPLICATION_H