|
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 |
|
20 #include "cmrcalendarinfoimpl.h" |
|
21 |
|
22 // --------------------------------------------------------------------------- |
|
23 // |
|
24 // --------------------------------------------------------------------------- |
|
25 // |
|
26 CMRCalendarInfo::CMRCalendarInfo( const TUid& aUid ) : CEmailExtension( aUid ) |
|
27 { |
|
28 NM_FUNCTION; |
|
29 } |
|
30 |
|
31 // --------------------------------------------------------------------------- |
|
32 // |
|
33 // --------------------------------------------------------------------------- |
|
34 // |
|
35 CMRCalendarInfoImpl::CMRCalendarInfoImpl() : |
|
36 CMRCalendarInfo( KMailboxExtMrCalInfo ) |
|
37 { |
|
38 NM_FUNCTION; |
|
39 |
|
40 iDatabaseId = MAKE_TINT64(0,0); |
|
41 } |
|
42 |
|
43 // --------------------------------------------------------------------------- |
|
44 // |
|
45 // --------------------------------------------------------------------------- |
|
46 // |
|
47 CMRCalendarInfoImpl::~CMRCalendarInfoImpl() |
|
48 { |
|
49 NM_FUNCTION; |
|
50 } |
|
51 |
|
52 // --------------------------------------------------------------------------- |
|
53 // |
|
54 // --------------------------------------------------------------------------- |
|
55 // |
|
56 void CMRCalendarInfoImpl::GetCalendarDatabaseIdL( TCalFileId& aId ) const |
|
57 { |
|
58 NM_FUNCTION; |
|
59 |
|
60 aId = iDatabaseId; |
|
61 } |
|
62 |
|
63 // --------------------------------------------------------------------------- |
|
64 // |
|
65 // --------------------------------------------------------------------------- |
|
66 // |
|
67 void CMRCalendarInfoImpl::SetCalendarDatabaseIdL( const TCalFileId& aId ) |
|
68 { |
|
69 NM_FUNCTION; |
|
70 |
|
71 iDatabaseId = aId; |
|
72 } |
|
73 |