logsui/logsapp/inc/logsapplication.h
changeset 17 90fe74753f71
child 18 acd4e87b24b4
equal deleted inserted replaced
15:76d2cf7a585e 17:90fe74753f71
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef LOGSAPPLICATION_H
       
    19 #define LOGSAPPLICATION_H
       
    20 
       
    21 #include <QObject>
       
    22 #include <hbapplication.h>
       
    23 
       
    24 class LogsApplication : public HbApplication
       
    25 {
       
    26     Q_OBJECT
       
    27 
       
    28 public:
       
    29     LogsApplication(int &argc, char *argv[]);
       
    30     ~LogsApplication();
       
    31     
       
    32     bool logsFeaturePreloadingEnabled();
       
    33     bool logsFeatureFakeExitEnabled();
       
    34 
       
    35 public slots: // from HbApplication
       
    36 
       
    37     void testLogsAppEngineReady();
       
    38     void testLogsHandleAppViewReady();
       
    39 signals:
       
    40     /*!
       
    41     * Testing framework support.
       
    42     * Application ready signal is emitted after startup when UI is fully loaded and functional.
       
    43     */
       
    44     void applicationReady();
       
    45     
       
    46 private: //data for appplicationReady signal
       
    47     bool mViewReady;
       
    48     bool mReadCompleted;
       
    49     
       
    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;
       
    55     friend class UT_LogsViewManager;
       
    56 };
       
    57 
       
    58 #endif // LOGSAPPLICATION_H