author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 14 Sep 2010 22:59:08 +0300 | |
branch | RCL_3 |
changeset 46 | 5146369cfdc9 |
parent 26 | 5d0ec8b709be |
permissions | -rw-r--r-- |
5 | 1 |
/* |
2 |
* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
* All rights reserved. |
|
4 |
* This component and the accompanying materials are made available |
|
5 |
* under the terms of the License "Eclipse Public License v1.0" |
|
6 |
* which accompanies this distribution, and is available |
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
* |
|
9 |
* Initial Contributors: |
|
10 |
* Nokia Corporation - initial contribution. |
|
11 |
* |
|
12 |
* Contributors: |
|
13 |
* |
|
14 |
* Description: CLandmarkManageHandlers class |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
// ----------------------------------------------------------------------------- |
|
19 |
// CLandmarkHandler::LandmarkDatabaseHandle() |
|
20 |
// Returns the handle to CPosLandmarkDatabase instance. |
|
21 |
// ----------------------------------------------------------------------------- |
|
22 |
// |
|
23 |
inline CPosLandmarkDatabase* CLandmarkHandler::LandmarkDatabaseHandle( ) |
|
24 |
{ |
|
25 |
return iLandmarkDatabaseHandle; |
|
26 |
} |
|
27 |
||
28 |
// ----------------------------------------------------------------------------- |
|
29 |
// CLandmarkHandler::CategoryManagerHandle() |
|
30 |
// Returns the handle to CPosLmCategoryManager instance. |
|
31 |
// ----------------------------------------------------------------------------- |
|
32 |
// |
|
33 |
inline CPosLmCategoryManager* CLandmarkHandler::CategoryManagerHandle( ) |
|
34 |
{ |
|
35 |
return iLmCategoryManagerHandle; |
|
36 |
} |
|
37 |
||
38 |
// ----------------------------------------------------------------------------- |
|
39 |
// CLandmarkHandler::LandmarkSearchHandle() |
|
40 |
// Returns the handle to CPosLandmarkSearch instance. |
|
41 |
// ----------------------------------------------------------------------------- |
|
42 |
// |
|
43 |
inline CPosLandmarkSearch* CLandmarkHandler::LandmarkSearchHandle( ) |
|
44 |
{ |
|
45 |
return iLandmarkSearchHandle; |
|
46 |
} |
|
47 |
||
48 |
// ----------------------------------------------------------------------------- |
|
49 |
// CLandmarkHandler::GetDatabaseUri( TPtrC& aDatabaseUri ) |
|
50 |
// Sets the URI of the landmark database. |
|
51 |
// ----------------------------------------------------------------------------- |
|
52 |
// |
|
53 |
inline void CLandmarkHandler::GetDatabaseUri( TPtrC& aDatabaseUri ) const |
|
54 |
{ |
|
55 |
aDatabaseUri.Set (iDatabaseUri->Des ( ) ); |
|
56 |
} |
|
26
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
57 |
inline TInt CLandmarkHandler::DecRef() |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
58 |
{ |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
59 |
iRefCount--; |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
60 |
return iRefCount; |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
61 |
|
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
62 |
} |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
63 |
|
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
64 |
inline void CLandmarkHandler::IncRef() |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
65 |
{ |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
66 |
iRefCount++; |
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
5
diff
changeset
|
67 |
} |