00001 /* 00002 * ============================================================================ 00003 * Name : ConeResLoader.h 00004 * Part of : Common Services / Common Engine 00005 * Interface : SDK, Cone Resource Loader API 00006 * Description : Cone Resource Loader API enables adding and removing 00007 * localized resource files into the CONE environment. 00008 * Version : %version: ou1cfspd#5 % 00009 * 00010 * Copyright © 2002-2006 Nokia. All rights reserved. 00011 * This material, including documentation and any related computer 00012 * programs, is protected by copyright controlled by Nokia. All 00013 * rights are reserved. Copying, including reproducing, storing, 00014 * adapting or translating, any or all of this material requires the 00015 * prior written consent of Nokia. This material also contains 00016 * confidential information which may not be disclosed to others 00017 * without the prior written consent of Nokia. 00018 * ============================================================================ 00019 */ 00020 00021 #ifndef CONERESLOADER_H 00022 #define CONERESLOADER_H 00023 00024 // forward declarations 00025 class CCoeEnv; 00026 00073 class RConeResourceLoader 00074 { 00075 public: 00082 IMPORT_C RConeResourceLoader(CCoeEnv& aEnv); 00083 00097 IMPORT_C TInt Open(TFileName& aFileName); 00098 00110 IMPORT_C void OpenL(TFileName& aFileName); 00111 00112 00119 IMPORT_C void Close(); 00120 00121 private: 00122 00123 // Prohibit copy constructor and assigment operator because not deriving from CBase. 00124 RConeResourceLoader(const RConeResourceLoader&); 00125 RConeResourceLoader& operator= ( const RConeResourceLoader& ); 00126 00127 // Needed for closing 00128 CCoeEnv& iEnv; 00129 TInt iResourceFileOffset; 00130 }; 00131 00132 00133 #endif 00134 00135 // End of File