equal
deleted
inserted
replaced
|
1 /** |
|
2 * Copyright (c) 2006-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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @publishedAll |
|
23 @released |
|
24 */ |
|
25 |
|
26 #ifndef __VIEWDEF_BASE_H__ |
|
27 #define __VIEWDEF_BASE_H__ |
|
28 |
|
29 #include "CntBaseStep.h" |
|
30 |
|
31 class CViewDefBase : public CCntBaseStep |
|
32 { |
|
33 public: |
|
34 CViewDefBase(const TInt aContacts); |
|
35 |
|
36 protected: |
|
37 virtual void InitializeL(); |
|
38 virtual void Cleanup(); |
|
39 void FieldsInView( const CContactItemViewDef &aView, TInt &aRetNormal, |
|
40 TInt &aRetHidden, const TBool aHasEmpty = EFalse); |
|
41 TInt FindInFieldSet(const CContactItemViewDef &aView, const TInt &aFrom); |
|
42 void AddMultipleUidsL( CContactItemViewDef &aView, TInt &aPos, const TInt &aMany ); |
|
43 protected: |
|
44 CContactItemViewDef *iViewII; |
|
45 CContactItemViewDef *iViewIM; |
|
46 CContactItemViewDef *iViewMI; |
|
47 CContactItemViewDef *iViewMM; |
|
48 CContactItemViewDef* iDefView; |
|
49 }; |
|
50 |
|
51 #endif |