1 /* |
1 /* |
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: ESMR field storage for viewer fields in CESMRListComponent |
14 * Description: ESMR field storage for viewer fields owned by fieldcontainer |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #ifndef CESMRVIEWERFIELDSTORAGE_H |
18 #ifndef CESMRVIEWERFIELDSTORAGE_H |
19 #define CESMRVIEWERFIELDSTORAGE_H |
19 #define CESMRVIEWERFIELDSTORAGE_H |
41 * action is needed |
41 * action is needed |
42 * @param aResponseReady - Currently not in use |
42 * @param aResponseReady - Currently not in use |
43 * @return New viewer field storage object |
43 * @return New viewer field storage object |
44 */ |
44 */ |
45 static CESMRViewerFieldStorage* NewL( |
45 static CESMRViewerFieldStorage* NewL( |
46 CESMRPolicy* aPolicy, |
46 const CESMRPolicy& aPolicy, |
47 MESMRResponseObserver* aResponseObserver, |
47 MESMRResponseObserver* aResponseObserver, |
48 TBool aResponseReady, |
48 TBool aResponseReady, |
49 MESMRFieldEventObserver& aEventObserver, |
49 MESMRFieldEventObserver& aEventObserver, |
50 TInt aReqAttendee = 0, |
50 TInt aReqAttendee = 0, |
51 TInt aOptAttendee = 0); |
51 TInt aOptAttendee = 0); |
60 |
60 |
61 private: // Implementation |
61 private: // Implementation |
62 CESMRViewerFieldStorage( |
62 CESMRViewerFieldStorage( |
63 MESMRFieldEventObserver& aEventObserver ); |
63 MESMRFieldEventObserver& aEventObserver ); |
64 |
64 |
65 void ConstructL( CESMRPolicy* aPolicy, |
65 void ConstructL( const CESMRPolicy& aPolicy, |
66 MESMRResponseObserver* aResponseObserver, |
66 MESMRResponseObserver* aResponseObserver, |
67 TBool aResponseReady, |
67 TBool aResponseReady, |
68 const TInt &aReqAttendee , |
68 const TInt &aReqAttendee , |
69 const TInt &aOptAttendee ); |
69 const TInt &aOptAttendee ); |
70 |
70 |
71 void CreatePolicyFieldsL(CESMRPolicy* aPolicy, |
71 void CreatePolicyFieldsL( const CESMRPolicy& aPolicy, |
72 MESMRResponseObserver* aResponseObserver, |
72 MESMRResponseObserver* aResponseObserver, |
73 TBool aResponseReady); |
73 TBool aResponseReady); |
74 |
74 |
75 void CreateTrackingFieldsL(CESMRPolicy* aPolicy, |
75 void CreateTrackingFieldsL( const CESMRPolicy& aPolicy, |
76 MESMRResponseObserver* aResponseObserver, |
76 MESMRResponseObserver* aResponseObserver, |
77 TBool aResponseReady, |
77 TBool aResponseReady, |
78 const TInt &aReqAttendeee, const TInt &aOptAttendee); |
78 const TInt &aReqAttendeee, const TInt &aOptAttendee); |
79 }; |
79 }; |
80 |
80 |