wvuing/IMPSConnectionUI/UISrc/CnUiResourceFileName.h
branchRCL_3
changeset 13 a941bc465d9f
parent 0 094583676ce7
equal deleted inserted replaced
12:6ca72c0fe49a 13:a941bc465d9f
       
     1 /*
       
     2 * Copyright (c) 2004 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:  ConnectionUi resources.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CNUIRESOURCEFILENAME_H
       
    19 #define __CNUIRESOURCEFILENAME_H
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include <E32Std.h>
       
    23 #include <bautils.h>
       
    24 #include <data_caging_path_literals.hrh>
       
    25 
       
    26 // CONSTANTS
       
    27 
       
    28 /**
       
    29  * Connection UI resource file name.
       
    30  */
       
    31 _LIT( KCnUiResourceFileNameAndPath, "IMPSConnectionUiNG.rsc" );
       
    32 _LIT( KCnUiVarResourceFileNameAndPath, "IMConnectionUIVariationNG.rsc" );
       
    33 
       
    34 
       
    35 
       
    36 /**
       
    37  * Connection UI resource file name handler.
       
    38  *
       
    39  * @since 2.1
       
    40  */
       
    41 NONSHARABLE_CLASS( CnUiResourceFileName )
       
    42     {
       
    43 public: //new methods
       
    44 
       
    45     /**
       
    46      * Composes nearest language resource file for connection UI:
       
    47      *
       
    48      * @since 2.1
       
    49      * @param aFs The file server session to use.
       
    50      * @param aName The file name buffer. On the function return
       
    51      * will contain a proper resource file name for
       
    52      * Connection UI.
       
    53      */
       
    54     static inline void NearestForCurrentLanguage( const RFs& aFs, TFileName& aName );
       
    55 
       
    56     /**
       
    57      * Composes nearest language resource file for connection UI:
       
    58      *
       
    59      * @since 3.2
       
    60      * @param aFs The file server session to use.
       
    61      * @param aName The file name buffer. On the function return
       
    62      * will contain a proper resource file name for
       
    63      * Connection UI.
       
    64      */
       
    65     static inline void NearestVariationForCurrentLanguage( const RFs& aFs, TFileName& aName );
       
    66 
       
    67 
       
    68 
       
    69 
       
    70 protected: //prohibited constructor / destructor
       
    71     ~CnUiResourceFileName();
       
    72     CnUiResourceFileName();
       
    73     };
       
    74 
       
    75 // Inline methods
       
    76 #include "CnUiResourceFileName.inl"
       
    77 
       
    78 #endif  //__CNUIRESOURCEFILENAME_H
       
    79 
       
    80 //  End of File
       
    81