landmarksui/commonui/src/TLmkItemIdDbCombiInfo.cpp
branchRCL_3
changeset 18 870918037e16
parent 0 522cd55cc3d7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/landmarksui/commonui/src/TLmkItemIdDbCombiInfo.cpp	Wed Sep 01 12:31:27 2010 +0100
@@ -0,0 +1,94 @@
+/*
+* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:    This class provides methods for fetching the ID of selected
+*			   	  landmark or category and the handle to database to which either
+*			   	  landmark or category belongs.
+*
+*/
+
+
+
+
+
+
+
+
+// INCLUDE FILES
+#include "TLmkItemIdDbCombiInfo.h"
+
+// ============================ MEMBER FUNCTIONS ===============================
+// -----------------------------------------------------------------------------
+// TLmkItemIdDbCombiInfo::TLmkItemIdDbCombiInfo
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------
+EXPORT_C TLmkItemIdDbCombiInfo::TLmkItemIdDbCombiInfo() : iLmDb(NULL), iLmItemId(0)
+	{
+	}
+
+// -----------------------------------------------------------------------------
+// TLmkItemIdDbCombiInfo::~TLmkItemIdDbCombiInfo
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TLmkItemIdDbCombiInfo::~TLmkItemIdDbCombiInfo()
+    {
+    }
+
+// -----------------------------------------------------------------------------
+// TLmkItemIdDbCombiInfo::SetItemId
+//
+// -----------------------------------------------------------------------------
+//
+EXPORT_C void TLmkItemIdDbCombiInfo::SetItemId( TPosLmItemId & aLmItemId)
+	 {
+	 iLmItemId =  aLmItemId;
+	 }
+
+// -----------------------------------------------------------------------------
+// TLmkItemIdDbCombiInfo::SetLmDb
+//
+// -----------------------------------------------------------------------------
+//
+ EXPORT_C void TLmkItemIdDbCombiInfo::SetLmDb( CPosLandmarkDatabase* aDb)
+	{
+	iLmDb = aDb;
+	}
+
+// -----------------------------------------------------------------------------
+// TLmkItemIdDbCombiInfo::GetItemId
+//
+// -----------------------------------------------------------------------------
+//
+ EXPORT_C TPosLmItemId TLmkItemIdDbCombiInfo::GetItemId() const
+	 {
+	 return iLmItemId;
+	 }
+
+// -----------------------------------------------------------------------------
+// TLmkItemIdDbCombiInfo::GetLmDb
+//
+// -----------------------------------------------------------------------------
+//
+ EXPORT_C CPosLandmarkDatabase* TLmkItemIdDbCombiInfo::GetLmDb() const
+	 {
+	 return iLmDb;
+	 }
+
+ // End of file
+
+
+
+
+
+