landmarksui/commonui/src/TLmkItemIdDbCombiInfo.cpp
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:31:27 +0100
branchRCL_3
changeset 18 870918037e16
parent 0 522cd55cc3d7
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

/*
* 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