smartinstaller/common/globals.h
branchADM
changeset 14 343c622c9f65
equal deleted inserted replaced
13:8ed1157e9487 14:343c622c9f65
       
     1 /*
       
     2 * Copyright (c) 2009-2010 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 *     Declaration of the global constants.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef GLOBALS_H_
       
    22 #define GLOBALS_H_
       
    23 
       
    24 // Constants
       
    25 
       
    26 // Define the bootstrap version to be used.
       
    27 // Currently the versions supported are 1, 2, 3 and 4.
       
    28 #define KBootstrapVersion 4
       
    29 
       
    30 // Maximum length of popup dialog message
       
    31 const TInt KMaxMsgSize = 128;
       
    32 
       
    33 // Download size threshold. If download size exceeds this, the user is prompted to continue with the download.
       
    34 const TInt KMaxDownloadWithoutPrompt = 10*1024*1024;
       
    35 
       
    36 // TODO: make the URL runtime configurable
       
    37 #ifdef PRODUCTION_RELEASE
       
    38 _LIT8(KDefaultDepServerUrl, "");
       
    39 #else
       
    40 // Beta2 URL
       
    41 _LIT8(KDefaultDepServerUrl, "");
       
    42 #endif
       
    43 
       
    44 #endif /* GLOBALS_H_ */