--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/emailservices/emailcommon/src/emailcalendarinfoimpl.cpp Tue Aug 31 15:04:17 2010 +0300
@@ -0,0 +1,73 @@
+/*
+* Copyright (c) 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: implementation of calendar info extension for mailbox
+*
+*/
+
+#include "emailtrace.h"
+
+#include "cmrcalendarinfoimpl.h"
+
+// ---------------------------------------------------------------------------
+//
+// ---------------------------------------------------------------------------
+//
+CMRCalendarInfo::CMRCalendarInfo( const TUid& aUid ) : CEmailExtension( aUid )
+ {
+ NM_FUNCTION;
+ }
+
+// ---------------------------------------------------------------------------
+//
+// ---------------------------------------------------------------------------
+//
+CMRCalendarInfoImpl::CMRCalendarInfoImpl() :
+ CMRCalendarInfo( KMailboxExtMrCalInfo )
+ {
+ NM_FUNCTION;
+
+ iDatabaseId = MAKE_TINT64(0,0);
+ }
+
+// ---------------------------------------------------------------------------
+//
+// ---------------------------------------------------------------------------
+//
+CMRCalendarInfoImpl::~CMRCalendarInfoImpl()
+ {
+ NM_FUNCTION;
+ }
+
+// ---------------------------------------------------------------------------
+//
+// ---------------------------------------------------------------------------
+//
+void CMRCalendarInfoImpl::GetCalendarDatabaseIdL( TCalFileId& aId ) const
+ {
+ NM_FUNCTION;
+
+ aId = iDatabaseId;
+ }
+
+// ---------------------------------------------------------------------------
+//
+// ---------------------------------------------------------------------------
+//
+void CMRCalendarInfoImpl::SetCalendarDatabaseIdL( const TCalFileId& aId )
+ {
+ NM_FUNCTION;
+
+ iDatabaseId = aId;
+ }
+