00001 /* 00002 * ============================================================================ 00003 * Name : EPos_CPosLandmarkDatabaseExtended.h 00004 * Part of : Mobile Location Framework/Landmarks 00005 * Description : SDK/S60, Landmarks API 00006 * Version : %version: 1 % 00007 * 00008 * Copyright © 2007 Nokia. All rights reserved. 00009 * This material, including documentation and any related computer 00010 * programs, is protected by copyright controlled by Nokia. All 00011 * rights are reserved. Copying, including reproducing, storing, 00012 * adapting or translating, any or all of this material requires the 00013 * prior written consent of Nokia. This material also contains 00014 * confidential information which may not be disclosed to others 00015 * without the prior written consent of Nokia. 00016 * ============================================================================ 00017 * Template version: 4.2 00018 */ 00019 00020 #ifndef EPOS_CPOSLANDMARKDATABASEEXTENDED_H_ 00021 #define EPOS_CPOSLANDMARKDATABASEEXTENDED_H_ 00022 00023 #include "epos_cposlandmarkdatabase.h" 00024 00025 class CPosLmCategoryManager; 00026 00036 class CPosLandmarkDatabaseExtended : public CPosLandmarkDatabase 00037 { 00038 public: 00039 00057 IMPORT_C static CPosLandmarkDatabaseExtended* OpenL(); 00058 00091 IMPORT_C static CPosLandmarkDatabaseExtended* OpenL( const TDesC& aDatabaseUri ); 00092 00096 IMPORT_C virtual ~CPosLandmarkDatabaseExtended(); 00097 00098 public: 00099 00104 IMPORT_C TInt LandmarksCount(); 00105 00110 IMPORT_C TInt CategoriesCount(); 00111 00112 public: 00113 00115 virtual CPosLmCategoryManager& CategoryManager() = 0; 00116 00117 protected: 00118 00128 virtual void* GetExtension( TUid aExtensionUid ) = 0; 00129 00130 protected: 00131 00132 // C++ constructor. 00133 IMPORT_C CPosLandmarkDatabaseExtended(); 00134 00135 private: 00136 00137 // Prohibit copy constructor 00138 CPosLandmarkDatabaseExtended( const CPosLandmarkDatabaseExtended& ); 00139 // Prohibit assigment operator 00140 CPosLandmarkDatabaseExtended& operator= ( const CPosLandmarkDatabaseExtended& ); 00141 00142 private: 00143 TInt8 reserved[32]; 00144 }; 00145 00146 00147 #endif /*EPOS_CPOSLANDMARKDATABASEEXTENDED_H_*/