pimappservices/calendar/server/inc/agsentrymanager.inl
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 inline CAgnEntryManager::TBufItem::TBufItem(CAgnEntry* aEntry, TBool aToBeDeleted)
       
    17 	: iEntry(aEntry),iToBeDeleted(aToBeDeleted)
       
    18 	{}
       
    19 
       
    20 inline TBool CAgnEntryManager::TBufItem::ToBeDeleted() const
       
    21 	{ return ( iToBeDeleted ); }
       
    22 
       
    23 inline CAgnEntry* CAgnEntryManager::TBufItem::Entry() const
       
    24 	{ return ( iEntry ); }
       
    25 
       
    26 inline void CAgnEntryManager::TBufItem::SetToBeDeleted(TBool aSetting)
       
    27 	{ iToBeDeleted = aSetting; }
       
    28 
       
    29 inline void CAgnEntryManager::TBufItem::SetEntry(CAgnEntry* aEntry)
       
    30 	{ iEntry = aEntry; }
       
    31 
       
    32 inline TBool CAgnEntryManager::BufferHasBeenStored() const
       
    33 	{ return ( iBufferHasBeenStored ); }
       
    34 
       
    35 inline TBool CAgnEntryManager::BufferedDeleting() const
       
    36 	{ return ( iBufferedDeleting ); }
       
    37 
       
    38 inline void CAgnEntryManager::SetStore(CStreamStore& aStore)
       
    39 	{ iStore = &aStore; }
       
    40 
       
    41 inline CStreamStore& CAgnEntryManager::StreamStore() const
       
    42 	{ return *iStore; }