logsui/logsapp/inc/logsappsettings.h
changeset 20 6a40edd41841
equal deleted inserted replaced
19:e4c884866116 20:6a40edd41841
       
     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 LOGSAPPSETTINGS_H
       
    19 #define LOGSAPPSETTINGS_H
       
    20 
       
    21 class LogsAppSettings
       
    22 {
       
    23 public:
       
    24     LogsAppSettings(int &argc, char *argv[]);
       
    25     virtual ~LogsAppSettings();
       
    26     
       
    27     bool logsFeaturePreloadingEnabled();
       
    28     bool logsFeatureFakeExitEnabled();   
       
    29     
       
    30 private:
       
    31     
       
    32     static bool isBootupStart(int &argc, char *argv[]);
       
    33     
       
    34 private:
       
    35     
       
    36     bool mFeaturePreloadedEnabled;
       
    37     int mFeatureFakeExitEnabledVal;
       
    38     
       
    39     friend class UT_LogsApplication;
       
    40     friend class UT_LogsViewManager;
       
    41     friend class UT_LogsAppSettings;
       
    42 };
       
    43 
       
    44 #endif // LOGSAPPSETTINGS_H