|
1 /* |
|
2 * Copyright (c) 2008 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: Declaration of construct parameters class for Action Menu |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_FSCCONTACTACTIONMENUCONSTRUCTPARAMETERS_H |
|
20 #define C_FSCCONTACTACTIONMENUCONSTRUCTPARAMETERS_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 //<cmail> |
|
25 #include "fsccontactactionmenudefines.h" |
|
26 //</cmail> |
|
27 |
|
28 // FORWARD DECLARATIONS |
|
29 class CFscContactActionService; |
|
30 |
|
31 /** |
|
32 * Construction parameters for Action Menu |
|
33 * |
|
34 * @since S60 3.1 |
|
35 */ |
|
36 class TFscContactActionMenuConstructParameters |
|
37 { |
|
38 |
|
39 public: // Public methods |
|
40 |
|
41 /** |
|
42 * Constructor |
|
43 * |
|
44 * @param aService Pointer to Contact Action Service |
|
45 * @param aMode Menu mode |
|
46 */ |
|
47 TFscContactActionMenuConstructParameters( |
|
48 CFscContactActionService& aService, |
|
49 TFscContactActionMenuMode aMode ) |
|
50 : iService( aService ), iMode( aMode ) {} |
|
51 |
|
52 public: // Public members |
|
53 |
|
54 /** |
|
55 * Pointer to CAS |
|
56 */ |
|
57 CFscContactActionService& iService; |
|
58 |
|
59 /** |
|
60 * Mode of the menu |
|
61 */ |
|
62 TFscContactActionMenuMode iMode; |
|
63 |
|
64 }; |
|
65 #endif // C_FSCCONTACTACTIONMENUCONSTRUCTPARAMETERS_H |