wvuing/IMPSConnectionUI/UISrc/CnUiResourceFileName.h
changeset 0 094583676ce7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wvuing/IMPSConnectionUI/UISrc/CnUiResourceFileName.h	Thu Dec 17 08:41:52 2009 +0200
@@ -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 <E32Std.h>
+#include <bautils.h>
+#include <data_caging_path_literals.hrh>
+
+// 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
+