|
1 /* |
|
2 * Copyright (c) 2002 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: Implementation for Download tones feature |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CFLDBROWSERLAUNCHER_H |
|
21 #define CFLDBROWSERLAUNCHER_H |
|
22 |
|
23 // EXTERNAL INCLUDES |
|
24 #include <e32base.h> |
|
25 #include <downloadedcontenthandler.h> |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CDocumentHandler; |
|
29 class CBrowserLauncher; |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * Implementation for Download tones feature. |
|
35 * |
|
36 * @lib FileList.lib |
|
37 * @since 2.1 |
|
38 */ |
|
39 NONSHARABLE_CLASS( CFLDBrowserLauncher ) : public CBase, |
|
40 public MDownloadedContentHandler |
|
41 { |
|
42 public: // Constructors and destructor |
|
43 |
|
44 /** |
|
45 * Two-phased constructor. |
|
46 */ |
|
47 static CFLDBrowserLauncher* NewLC(); |
|
48 |
|
49 virtual ~CFLDBrowserLauncher(); |
|
50 |
|
51 public: // New functions |
|
52 |
|
53 /** |
|
54 * Launches Browser embedded. Waits until Browser is closed. |
|
55 * @since 2.1 |
|
56 */ |
|
57 void LaunchBrowserL(); |
|
58 |
|
59 public: // Functions from base classes |
|
60 |
|
61 TBool HandleContentL( |
|
62 const TDesC& aFileName, |
|
63 const CAiwGenericParamList& aParamList, TBool& aContinue ); |
|
64 |
|
65 TAny* DownloadedContentHandlerReserved1( TAny* aAnyParam ); |
|
66 |
|
67 private: |
|
68 |
|
69 /** |
|
70 * Default constructor |
|
71 */ |
|
72 CFLDBrowserLauncher(); |
|
73 |
|
74 /** |
|
75 * By default Symbian 2nd phase constructor is private. |
|
76 */ |
|
77 void ConstructL(); |
|
78 |
|
79 private: // Data |
|
80 /// Own: Browser Launcher |
|
81 CBrowserLauncher* iBrowserLauncher; |
|
82 |
|
83 /// Own: Document Handler for saving downloaded tones. |
|
84 CDocumentHandler* iDocumentHandler; |
|
85 |
|
86 }; |
|
87 |
|
88 #endif // CFLDBROWSERLAUNCHER_H |
|
89 |
|
90 // End of File |