00001 /* 00002 * ============================================================================== 00003 * Name : CLmkItemIdDbCombiInfo.h 00004 * Part of : Landmarks UI / LmkCommonUI.dll 00005 * Interface : Public 00006 * Description : This class provides methods for fetching the ID of selected 00007 * : landmark or category and the handle to database to which either 00008 * : landmark or category belongs. 00009 * 00010 * Version : 00011 * 00012 * Copyright (c) 2005 Nokia Corporation. 00013 * This material, including documentation and any related 00014 * computer programs, is protected by copyright controlled by 00015 * Nokia Corporation. All rights are reserved. Copying, 00016 * including reproducing, storing, adapting or translating, any 00017 * or all of this material requires the prior written consent of 00018 * Nokia Corporation. This material also contains confidential 00019 * information which may not be disclosed to others without the 00020 * prior written consent of Nokia Corporation. 00021 * ============================================================================== 00022 */ 00023 00024 00025 #ifndef TLMKITEMIDDBCOMBIINFO_H 00026 #define TLMKITEMIDDBCOMBIINFO_H 00027 00028 // INCLUDES 00029 #include <e32base.h> // CBase 00030 #include <epos_landmarks.h> // Lm typedefs, constants etc. 00031 00032 class CPosLandmarkDatabase; 00033 00034 00041 class TLmkItemIdDbCombiInfo 00042 { 00043 00044 public: // Constructors and destructor 00050 IMPORT_C TLmkItemIdDbCombiInfo(); 00051 00055 IMPORT_C ~TLmkItemIdDbCombiInfo(); 00056 00057 public: // Functions for getting/setting the info 00058 00063 IMPORT_C TPosLmItemId GetItemId() const; 00064 00075 IMPORT_C CPosLandmarkDatabase* GetLmDb() const; 00076 00083 IMPORT_C void SetItemId( TPosLmItemId &aLmItemId); 00084 00092 IMPORT_C void SetLmDb ( CPosLandmarkDatabase* aDb); 00093 00094 private: // own data 00095 CPosLandmarkDatabase* iLmDb; 00096 TPosLmItemId iLmItemId; 00097 }; 00098 00099 00100 // TLmkItemIdDbCombiInfo_H 00101 #endif