pimappservices/calendar/server/inc/agsentrymanager.inl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 14 Apr 2010 15:55:57 +0300
branchRCL_3
changeset 14 21239b3bcd78
parent 0 f979ecb2b13e
permissions -rw-r--r--
Revision: 201013 Kit: 201015

// Copyright (c) 1997-2009 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:
//

inline CAgnEntryManager::TBufItem::TBufItem(CAgnEntry* aEntry, TBool aToBeDeleted)
	: iEntry(aEntry),iToBeDeleted(aToBeDeleted)
	{}

inline TBool CAgnEntryManager::TBufItem::ToBeDeleted() const
	{ return ( iToBeDeleted ); }

inline CAgnEntry* CAgnEntryManager::TBufItem::Entry() const
	{ return ( iEntry ); }

inline void CAgnEntryManager::TBufItem::SetToBeDeleted(TBool aSetting)
	{ iToBeDeleted = aSetting; }

inline void CAgnEntryManager::TBufItem::SetEntry(CAgnEntry* aEntry)
	{ iEntry = aEntry; }

inline TBool CAgnEntryManager::BufferHasBeenStored() const
	{ return ( iBufferHasBeenStored ); }

inline TBool CAgnEntryManager::BufferedDeleting() const
	{ return ( iBufferedDeleting ); }

inline void CAgnEntryManager::SetStore(CStreamStore& aStore)
	{ iStore = &aStore; }

inline CStreamStore& CAgnEntryManager::StreamStore() const
	{ return *iStore; }