upnpharvester/common/cmlibrary/inc/cmcommonutils.h
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     1 /*
       
     2 * Copyright (c) 2008 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:      Utilities class description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 #ifndef CMCOMMONUTILS_H
       
    24 #define CMCOMMONUTILS_H
       
    25 
       
    26 #include <e32base.h>
       
    27 
       
    28 class CEikonEnv;
       
    29 /**
       
    30  * CmCommonUtils class.
       
    31  *
       
    32  * Class provides common methods
       
    33  *
       
    34  * @since S60 3.2
       
    35  * @lib cmlibrary.lib
       
    36  */
       
    37 class CmCommonUtils : CBase
       
    38     {
       
    39     public:
       
    40     
       
    41         /**
       
    42          * Loads resource file
       
    43          *
       
    44          * @since S60 3.2
       
    45          * @param aFilePath
       
    46          * @return TInt, resource file offset
       
    47          */
       
    48         IMPORT_C static TInt LoadResourceFileL( const TDesC& aFilePath,
       
    49                                                 CEikonEnv& eikonEnv ); 
       
    50 
       
    51         /**
       
    52          * Sets wlan scan interval
       
    53          * @since S60 3.2
       
    54          *
       
    55          * @param aInterval, scan interval         
       
    56          */
       
    57         IMPORT_C static void SetWlanScanL( const TInt aInterval );                                                
       
    58     
       
    59     };
       
    60                                 
       
    61 #endif // CMCOMMONUTILS_H