voiceui/pbkinfoviewimpl/inc/pbkinfoviewreshandler.h
branchRCL_3
changeset 23 e36f3802f733
parent 0 bf1d17376201
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/voiceui/pbkinfoviewimpl/inc/pbkinfoviewreshandler.h	Wed Sep 01 12:29:17 2010 +0100
@@ -0,0 +1,88 @@
+/*
+* Copyright (c) 2005 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:  This class is used for reading pbkinfoview resources.
+*
+*/
+
+
+#ifndef PBKINFOVIEWRESHANDLER_H
+#define PBKINFOVIEWRESHANDLER_H
+
+
+// INCLUDES
+#include <e32base.h>
+#include <eikenv.h>
+#include <aknenv.h>
+
+#include "pbkinfoviewdefines.h"
+
+// FORWARD DECLARATIONS
+class RResourceFile;
+
+// CLASS DECLARATION
+/**
+* CPbkInfoViewResHandler
+*
+* This class is used for reading pbkinfoview resources.
+*/
+NONSHARABLE_CLASS (CPbkInfoViewResHandler) : public CBase
+    {
+    public:
+    
+        /**
+        * Two-phased constructor.
+        */
+        static CPbkInfoViewResHandler* NewL();
+
+	    /**
+        * Destructor.
+        */
+        ~CPbkInfoViewResHandler();
+        
+        /**
+        * Finds out phonebook bitmap file name.
+        * @param aText File name will be put here.
+		* @return None.
+        */
+        static void GetBitmapFileName( TDes& aText );
+
+    private:
+        /**
+        * C++ default constructor.
+        */
+	    CPbkInfoViewResHandler();
+
+        /**
+        * By default Symbian 2nd phase constructor is private.
+        */
+	    void ConstructL();
+    
+    	/**
+        * Finds out the pbkinfoview resource file name.
+        * @param aText File name will be put here.
+		* @return None.
+        */
+        static void GetResFileName( TDes& aText );
+        
+    private:
+		//  sync app resource file id
+	    TInt iResId;
+    };
+
+
+
+#endif  // PBKINFOVIEWRESHANDLER_H
+
+// End of File
+