|
1 /******************************************************************************* |
|
2 * Copyright (c) 2007, 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. This program and the accompanying materials |
|
4 * are made available under the terms of the Eclipse Public License v1.0 |
|
5 * which accompanies this distribution, and is available at |
|
6 * http://www.eclipse.org/legal/epl-v10.html |
|
7 * |
|
8 * Contributors: |
|
9 * Nokia Corporation - S60 implementation |
|
10 *******************************************************************************/ |
|
11 |
|
12 |
|
13 #ifndef SWTBROWSERSCHEMEHANDLER_H |
|
14 #define SWTBROWSERSCHEMEHANDLER_H |
|
15 |
|
16 |
|
17 class CSchemeHandler; |
|
18 class CAiwGenericParamList; |
|
19 class MAknServerAppExitObserver; |
|
20 |
|
21 |
|
22 /** |
|
23 * CSwtBrowserSchemeHandler |
|
24 * @lib eswtapifacade.dll |
|
25 */ |
|
26 class CSwtBrowserSchemeHandler |
|
27 : public CBase |
|
28 { |
|
29 public: |
|
30 |
|
31 /** |
|
32 * Two-phased constructor. |
|
33 */ |
|
34 IMPORT_C static CSwtBrowserSchemeHandler* NewL(const TDesC& aUrl); |
|
35 |
|
36 /** |
|
37 * Destructor. |
|
38 */ |
|
39 virtual ~CSwtBrowserSchemeHandler(); |
|
40 |
|
41 |
|
42 IMPORT_C void SetParameterList(CAiwGenericParamList* aParamList); |
|
43 IMPORT_C void Observer(MAknServerAppExitObserver* aSchemeDoc); |
|
44 IMPORT_C void HandleUrlEmbeddedL(); |
|
45 IMPORT_C void HandleUrlStandaloneL(); |
|
46 |
|
47 |
|
48 private: |
|
49 |
|
50 /** |
|
51 * Constructor. |
|
52 */ |
|
53 CSwtBrowserSchemeHandler(); |
|
54 |
|
55 /** |
|
56 * Symbian 2nd phase constructor is private. |
|
57 */ |
|
58 void ConstructL(const TDesC& aUrl); |
|
59 |
|
60 |
|
61 |
|
62 private: // data |
|
63 |
|
64 /** |
|
65 * Pointer to SchemeHandler |
|
66 * Own |
|
67 */ |
|
68 CSchemeHandler* iSchemeHandler; |
|
69 }; |
|
70 |
|
71 #endif // SWTBROWSERSCHEMEHANDLER_H |
|
72 |
|
73 |
|
74 |