|
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 for launching the different communication methods |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef EDCONTACTORSERVICE_H |
|
20 #define EDCONTACTORSERVICE_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32std.h> |
|
24 #include <VPbkFieldTypeSelectorFactory.h> |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * Class for launching communication methods |
|
29 * |
|
30 * @code |
|
31 * ?good_class_usage_example(s) |
|
32 * @endcode |
|
33 * |
|
34 * @lib |
|
35 * @since S60 v5.0 |
|
36 */ |
|
37 NONSHARABLE_CLASS(CEDContactor) : CBase |
|
38 { |
|
39 public: |
|
40 /** |
|
41 * Starts a communication method. |
|
42 * |
|
43 * @param aCommMethod The communication method. |
|
44 * @param aParam Parameter for the communication, for example phone number or e-mail address. |
|
45 * @param aName Name of the contact which the parameter is from, for example for the sms/mms editor's to-field (optional) |
|
46 * @param aForcedService Should the service be forced or not, relevant in voice call set-up. |
|
47 * @param aServiceID The service ID for the VoIP call comm method, has no effect and can be left out for other comm methods |
|
48 */ |
|
49 static void ExecuteServiceL(VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aCommMethod, const TDesC& aParam, |
|
50 const TDesC& aName = KNullDesC, TBool aForcedService = EFalse, TUint32 aServiceId = 0); |
|
51 |
|
52 }; |
|
53 |
|
54 #endif // EDCONTACTORSERVICE_H |
|
55 // End of File |