diff -r 6ca72c0fe49a -r a941bc465d9f wvuing/IMPSConnectionUI/UISrc/CnUiResourceFileName.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wvuing/IMPSConnectionUI/UISrc/CnUiResourceFileName.h Wed Sep 01 12:31:13 2010 +0100 @@ -0,0 +1,81 @@ +/* +* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: ConnectionUi resources. +* +*/ + +#ifndef __CNUIRESOURCEFILENAME_H +#define __CNUIRESOURCEFILENAME_H + +// INCLUDE FILES +#include +#include +#include + +// CONSTANTS + +/** + * Connection UI resource file name. + */ +_LIT( KCnUiResourceFileNameAndPath, "IMPSConnectionUiNG.rsc" ); +_LIT( KCnUiVarResourceFileNameAndPath, "IMConnectionUIVariationNG.rsc" ); + + + +/** + * Connection UI resource file name handler. + * + * @since 2.1 + */ +NONSHARABLE_CLASS( CnUiResourceFileName ) + { +public: //new methods + + /** + * Composes nearest language resource file for connection UI: + * + * @since 2.1 + * @param aFs The file server session to use. + * @param aName The file name buffer. On the function return + * will contain a proper resource file name for + * Connection UI. + */ + static inline void NearestForCurrentLanguage( const RFs& aFs, TFileName& aName ); + + /** + * Composes nearest language resource file for connection UI: + * + * @since 3.2 + * @param aFs The file server session to use. + * @param aName The file name buffer. On the function return + * will contain a proper resource file name for + * Connection UI. + */ + static inline void NearestVariationForCurrentLanguage( const RFs& aFs, TFileName& aName ); + + + + +protected: //prohibited constructor / destructor + ~CnUiResourceFileName(); + CnUiResourceFileName(); + }; + +// Inline methods +#include "CnUiResourceFileName.inl" + +#endif //__CNUIRESOURCEFILENAME_H + +// End of File +