|
1 /* |
|
2 * Copyright (c) 2007-2007 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: The virtual phonebook named remote view utility. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef NAMEDREMOTEVIEWVIEWDEFINITIONSTOREUTILITY_H |
|
20 #define NAMEDREMOTEVIEWVIEWDEFINITIONSTOREUTILITY_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <cntviewbase.h> |
|
25 |
|
26 namespace VPbkCntModel { |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CContactStore; |
|
30 |
|
31 |
|
32 // CLASS DECLARATION |
|
33 |
|
34 /** |
|
35 * Named remote view view definition utility. |
|
36 */ |
|
37 NONSHARABLE_CLASS( NamedRemoteViewViewDefinitionStoreUtility ) |
|
38 { |
|
39 public: // interface |
|
40 /** |
|
41 * Configures the remote view definitions. |
|
42 * @param aViewName Remote view name. |
|
43 * @param aSortOrder Sort order. |
|
44 * @param aContactTypes view preferences. |
|
45 */ |
|
46 static void SetNamedRemoteViewViewDefinitionL( |
|
47 const TDesC& aViewName, |
|
48 const RContactViewSortOrder& aSortOrder, |
|
49 TContactViewPreferences aContactTypes); |
|
50 |
|
51 private: // implementation |
|
52 static void DoSetNamedRemoteViewViewDefinitionL( |
|
53 const TDesC& aViewName, |
|
54 const RContactViewSortOrder& aSortOrder, |
|
55 TContactViewPreferences aContactTypes); |
|
56 |
|
57 }; |
|
58 |
|
59 } // namespace VPbkCntModel |
|
60 |
|
61 #endif // NAMEDREMOTEVIEWVIEWDEFINITIONSTOREUTILITY_H |
|
62 |
|
63 // End of File |