|
1 /* |
|
2 * Copyright (c) 2010 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: Class implementing the email operation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef EDCONTACTOREMAILOPERATION_H |
|
20 #define EDCONTACTOREMAILOPERATION_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <e32base.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 class CEDContactorOperation; |
|
28 |
|
29 /** |
|
30 * Class implementing the email operation |
|
31 * |
|
32 * @code |
|
33 * ?good_class_usage_example(s) |
|
34 * @endcode |
|
35 * |
|
36 * @lib |
|
37 * @since S60 v5.0 |
|
38 */ |
|
39 NONSHARABLE_CLASS(CEDContactorEmailOperation) : public CEDContactorOperation |
|
40 { |
|
41 public: |
|
42 // Constructors and destructor |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 ~CEDContactorEmailOperation(); |
|
48 |
|
49 /** |
|
50 * Two-phased constructor. |
|
51 * |
|
52 * @param aParam The address to send email to. |
|
53 * @param aName The name of the contact, to be shown in the "to" field |
|
54 */ |
|
55 static CEDContactorEmailOperation* NewL(const TDesC& aParam, const TDesC& aName); |
|
56 |
|
57 /** |
|
58 * Two-phased constructor. |
|
59 * |
|
60 * @param aParam The address to send email to. |
|
61 * @param aName The name of the contact, to be shown in the "to" field |
|
62 */ |
|
63 static CEDContactorEmailOperation* NewLC(const TDesC& aParam, const TDesC& aName); |
|
64 |
|
65 /** |
|
66 * Executes the operation (starts the email editor) |
|
67 */ |
|
68 virtual void ExecuteLD(); |
|
69 |
|
70 private: |
|
71 |
|
72 /** |
|
73 * Constructor for performing 1st stage construction |
|
74 * |
|
75 * @param aParam The address to send email to. |
|
76 * @param aName The name of the contact, to be shown in the "to" field |
|
77 */ |
|
78 CEDContactorEmailOperation(const TDesC& aParam, const TDesC& aName); |
|
79 |
|
80 /** |
|
81 * EPOC default constructor for performing 2nd stage construction |
|
82 */ |
|
83 void ConstructL(); |
|
84 |
|
85 }; |
|
86 |
|
87 #endif // EDCONTACTOREMAILOPERATION_H |
|
88 // End of File |