|
1 /* |
|
2 * Copyright (c) 2007-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: PnpServiceActivation header file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef PNP_SERVICE_ACTIVATION_H |
|
20 #define PNP_SERVICE_ACTIVATION_H |
|
21 |
|
22 #include <e32base.h> |
|
23 |
|
24 class CPnpServiceActivation: public CBase |
|
25 { |
|
26 |
|
27 public: // Constructors and destructor |
|
28 |
|
29 /** |
|
30 * Two-phased constructor. |
|
31 */ |
|
32 static CPnpServiceActivation* NewL(); |
|
33 |
|
34 /** |
|
35 * Two-phased constructor. |
|
36 */ |
|
37 static CPnpServiceActivation* NewLC(); |
|
38 |
|
39 /** |
|
40 * Destructor. |
|
41 */ |
|
42 ~CPnpServiceActivation(); |
|
43 private: |
|
44 /** |
|
45 * C++ default constructor. |
|
46 */ |
|
47 CPnpServiceActivation(); |
|
48 |
|
49 /** |
|
50 *By default Symbian 2nd phase constructor is private. |
|
51 */ |
|
52 void ConstructL(); |
|
53 private: |
|
54 |
|
55 /** |
|
56 * Mapping Application ID launched PNPMS client with that of |
|
57 * provisioning setting application ID. |
|
58 * This function validates the application ID with provisioning |
|
59 * settings ID |
|
60 */ |
|
61 TBool ValidateAppUidWithProvappIDL(); |
|
62 |
|
63 public: |
|
64 |
|
65 /** |
|
66 * Launch Application using command line Symbian Fw |
|
67 */ |
|
68 void LaunchApplicationL(); |
|
69 |
|
70 /** |
|
71 * kill browser after settings are downloded and launching application |
|
72 */ |
|
73 void KillBrowserL(); |
|
74 |
|
75 /** |
|
76 *Display note specific to Service |
|
77 */ |
|
78 void DisplayAppSpecNoteL(); |
|
79 // Additional functions can be added if new functions are required |
|
80 // for service activation |
|
81 |
|
82 |
|
83 }; |
|
84 |
|
85 |
|
86 #endif PNP_SERVICE_ACTIVATION_H |