77 |
77 |
78 /** |
78 /** |
79 * Deletes an entry from the lookup table. |
79 * Deletes an entry from the lookup table. |
80 * @param[in] aLookupItem The lookup item to be deleted from the database. |
80 * @param[in] aLookupItem The lookup item to be deleted from the database. |
81 */ |
81 */ |
82 void DeleteEntryL( const TLookupItem& aLookupItem ); |
82 void DeleteEntryL( TLookupItem& aLookupItem ); |
|
83 |
|
84 /** |
|
85 * Deletes maptile from the repository if the ref to that maptile in the db reaches one |
|
86 * @param[in] aLookupItem The lookup item containing the path to the maptile |
|
87 */ |
|
88 void DeleteMapTileL( const TLookupItem& aLookupItem ); |
83 |
89 |
84 /** |
90 /** |
85 * Finds an entry in the lookup table. |
91 * Finds an entry in the lookup table. |
86 * @param[in/out] aLookupItem The lookup item to be found in the database. The source iUid is passed |
92 * @param[in/out] aLookupItem The lookup item to be found in the database. The source iUid is passed |
87 * in the lookup item |
93 * in the lookup item |
88 * @return ETrue if found, else EFalse |
94 * @return ETrue if found, else EFalse |
89 */ |
95 */ |
90 TBool FindEntryL( TLookupItem& aLookupItem); |
96 TBool FindEntryL( TLookupItem& aLookupItem); |
|
97 |
|
98 /** |
|
99 * Finds an entry in the lookup table for the given maptile name. |
|
100 * @param[in] aFilePath The lookup item to be found in the database. maptile file path is passed |
|
101 * @return ETrue if found, else EFalse |
|
102 */ |
|
103 TBool FindEntryByFilePathL(const TDesC& aFilePath); |
91 |
104 |
|
105 void FindEntriesByMapTileFetchingStateL(const TUint32 aFetchingState, |
|
106 RArray<TLookupItem>& aLookupItemArray); |
92 |
107 |
93 |
108 |
94 private: |
109 private: |
95 |
110 |
96 // default constructor |
111 // default constructor |