emailservices/emailcommon/src/emailcalendarinfoimpl.cpp
changeset 20 ecc8def7944a
child 30 759dc5235cdb
equal deleted inserted replaced
18:578830873419 20:ecc8def7944a
       
     1 /*
       
     2 * Copyright (c) 2009 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 "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:  implementation of calendar info extension for mailbox
       
    15 *
       
    16 */
       
    17 
       
    18 #include "emailtrace.h"
       
    19 #include "cmrcalendarinfoimpl.h"          
       
    20 
       
    21 // ---------------------------------------------------------------------------
       
    22 // 
       
    23 // ---------------------------------------------------------------------------
       
    24 //
       
    25 CMRCalendarInfo::CMRCalendarInfo( const TUid& aUid ) : CEmailExtension( aUid )
       
    26     {
       
    27     }
       
    28 
       
    29 // ---------------------------------------------------------------------------
       
    30 // 
       
    31 // ---------------------------------------------------------------------------
       
    32 //
       
    33 CMRCalendarInfoImpl::CMRCalendarInfoImpl() : 
       
    34     CMRCalendarInfo( KMailboxExtMrCalInfo )
       
    35     {
       
    36     iDatabaseId = MAKE_TINT64(0,0);
       
    37     }
       
    38 
       
    39 // ---------------------------------------------------------------------------
       
    40 // 
       
    41 // ---------------------------------------------------------------------------
       
    42 //
       
    43 CMRCalendarInfoImpl::~CMRCalendarInfoImpl()
       
    44     {
       
    45     FUNC_LOG
       
    46     }
       
    47 
       
    48 // ---------------------------------------------------------------------------
       
    49 // 
       
    50 // ---------------------------------------------------------------------------
       
    51 //
       
    52 void CMRCalendarInfoImpl::GetCalendarDatabaseIdL( TCalFileId& aId ) const
       
    53     {
       
    54     FUNC_LOG
       
    55     aId = iDatabaseId;
       
    56     }
       
    57     
       
    58 // ---------------------------------------------------------------------------
       
    59 // 
       
    60 // ---------------------------------------------------------------------------
       
    61 //
       
    62 void CMRCalendarInfoImpl::SetCalendarDatabaseIdL( const TCalFileId& aId )
       
    63     {
       
    64     FUNC_LOG
       
    65     iDatabaseId = aId;
       
    66     }
       
    67