equal
deleted
inserted
replaced
|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef T_VIEWSTORE_H_ |
|
17 #define T_VIEWSTORE_H_ |
|
18 |
|
19 /* |
|
20 Simple helper class used to create pre-defined view definitions |
|
21 */ |
|
22 class CContactViewDefinitionGenerator : public CBase |
|
23 { |
|
24 public: |
|
25 enum TViewDescription |
|
26 { |
|
27 ETechviewContactsAppView = 0, |
|
28 EValidLFCView, |
|
29 EValidLFPView, |
|
30 ENumValidViewDescriptions, |
|
31 |
|
32 EInvalidViewNameView = ENumValidViewDescriptions, |
|
33 EInvalidSortPluginNameView, |
|
34 |
|
35 ENumViewDescriptions |
|
36 }; |
|
37 public: |
|
38 |
|
39 static CContactViewDefinitionGenerator* NewLC(); |
|
40 CContactDefaultViewDefinition* CreateDefinitionLC(TViewDescription aDesc); |
|
41 |
|
42 private: |
|
43 void ConstructL(); |
|
44 }; |
|
45 |
|
46 #endif // T_VIEWSTORE_H_ |