javaextensions/location/landmarks/javasrc.s60/com/nokia/mj/impl/location/LandmarkStoreManager.java
equal
deleted
inserted
replaced
190 * |
190 * |
191 * @param aLocator The locator indicating where the store is |
191 * @param aLocator The locator indicating where the store is |
192 * @return NativeError.KErrNone if no error occured. Otherwise one of the |
192 * @return NativeError.KErrNone if no error occured. Otherwise one of the |
193 * system-wide error codes |
193 * system-wide error codes |
194 */ |
194 */ |
195 public int deleteStore(Locator aLocator) |
195 synchronized public int deleteStore(Locator aLocator) |
196 { |
196 { |
197 if (aLocator == null) |
197 if (aLocator == null) |
198 { |
198 { |
199 throw new NullPointerException(); |
199 throw new NullPointerException(); |
200 } |
200 } |
211 |
211 |
212 /** |
212 /** |
213 * Removes a native side landmark store peer object from this class |
213 * Removes a native side landmark store peer object from this class |
214 * @param aStoreHandle A handle to the store which is to be removed |
214 * @param aStoreHandle A handle to the store which is to be removed |
215 */ |
215 */ |
216 public void removeStore(String aStoreUri, int aStoreHandle) |
216 synchronized public void removeStore(String aStoreUri, int aStoreHandle) |
217 { |
217 { |
218 // Unregister the landmark store if there is an open store. This |
218 // Unregister the landmark store if there is an open store. This |
219 // quarantees that the closed store will not be provided to any |
219 // quarantees that the closed store will not be provided to any |
220 // requesting client. Store URI must not be null. |
220 // requesting client. Store URI must not be null. |
221 // "" indicates the default store |
221 // "" indicates the default store |