psln/pslnengine/inc/PslnFeatures.h
changeset 37 89c890c70182
parent 34 6b5204869ed5
child 45 667edd0b8678
equal deleted inserted replaced
34:6b5204869ed5 37:89c890c70182
     1 /*
       
     2 * Copyright (c) 2004-2007 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:  Utility class that defines supported features for Psln.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PSLNFEATURES_H
       
    20 #define PSLNFEATURES_H
       
    21 
       
    22 // INCLUDE FILES
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 * Static class that defines features supported by Personalisation application.
       
    30 *
       
    31 */
       
    32 NONSHARABLE_CLASS( PslnFeatures )
       
    33     {
       
    34     public:
       
    35 
       
    36         /**
       
    37         * Checks whether help functionality is supported.
       
    38         * @return ETrue is Help is supported.
       
    39         */
       
    40         IMPORT_C static TBool IsHelpSupported();
       
    41 
       
    42         /**
       
    43         * Checks whether enhanced embedded links are supported.
       
    44         * @return ETrue if enhanced embedded links are supported.
       
    45         */
       
    46         IMPORT_C static TBool IsEnhancedEmbeddedLinksSupported();
       
    47 
       
    48         /**
       
    49         * Checks whether sounds in skins are supported.
       
    50         * @return ETrue if sounds in skins are supported.
       
    51         */
       
    52         IMPORT_C static TBool IsSoundsInSkinsSupported();
       
    53 
       
    54         /**
       
    55         * Checks whether memory card is supported.
       
    56         * @return ETrue if memory card is supported.
       
    57         */
       
    58         static TBool IsMMCSupported();
       
    59 
       
    60         /**
       
    61         * Checks whether APAC specific layouts are supported.
       
    62         * @return ETrue if APAC specific layouts are supported.
       
    63         */
       
    64         static TBool IsAPACSupported();
       
    65         
       
    66         /**
       
    67         * Check if given feature is supported or not. 
       
    68         * See feature IDs from PslnVariant.hrh.
       
    69         */
       
    70         IMPORT_C static TBool IsSupported( TInt aLocalVariationID );
       
    71 
       
    72     private:
       
    73 
       
    74         /**
       
    75         * Checks whether seamless links OR enhanced embedded links OR both
       
    76         * are supported.
       
    77         * @return ETrue if seamless links OR enchanced embedded links OR both
       
    78         * are supported.
       
    79         */
       
    80         static TBool IsSeamlessLinksSupported();
       
    81 
       
    82         /*
       
    83         * Same as above, but possibly leaves.
       
    84         */
       
    85         static TBool IsSupportedL( TInt aLocalVariationID );
       
    86     };
       
    87 
       
    88 #endif // PSLNFEATURES_H
       
    89             
       
    90 // End of File