2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Helper class for loading PbkView resources.
20 #ifndef __RPbkViewResourceFile_H__
21 #define __RPbkViewResourceFile_H__
25 #include "ConeResLoader.h"
30 * Helper class for loading the PbkView DLL resource file.
32 class RPbkViewResourceFile
37 * @param aEnv CONE environment where to load the resource file.
39 IMPORT_C RPbkViewResourceFile(CCoeEnv& aEnv);
42 * Opens the PbkView dll resource file for use. Leaves if the
43 * resource file is already open.
45 IMPORT_C void OpenL();
48 * Returns ETrue if the resource file is open.
49 * @return ETrue if the resource file is open.
51 IMPORT_C TBool IsOpen() const;
54 * Closes the PbkView dll resource file.
55 * You must always remember to close the resource file when finished
58 IMPORT_C void Close();
61 /// Own: resource loader
62 RConeResourceLoader iLoader;
63 /// Own: file open flag
67 #endif // __RPbkViewResourceFile_H__