|
1 /* |
|
2 * Copyright (c) 2006 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 the License "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: Handle dialogs needed for browser operation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 // INCLUDES |
|
21 #include <e32std.h> |
|
22 #include <e32base.h> |
|
23 |
|
24 #include "BrCtlDialogsProvider.h" |
|
25 |
|
26 |
|
27 // ---------------------------------------------------------------------------- |
|
28 // CBrCtlObjectInfo class |
|
29 // Used by and defined in support of CBrCtlDialogProvider |
|
30 // ---------------------------------------------------------------------------- |
|
31 // ---------------------------------------------------------------------------- |
|
32 // CBrCtlObjectInfo default construtor |
|
33 // ---------------------------------------------------------------------------- |
|
34 CBrCtlObjectInfo::CBrCtlObjectInfo() |
|
35 { |
|
36 // Set to reflect an unsupported MIME type, user will modify as |
|
37 // needed to reflect info from object |
|
38 iAppSupported = EFalse; |
|
39 iPluginSupported = EFalse; |
|
40 iSize.Set(NULL, 0); |
|
41 iAppName.Set(NULL, 0); |
|
42 iFileType.Set(NULL, 0); |
|
43 } |
|
44 |
|
45 // ---------------------------------------------------------------------------- |
|
46 // CBrCtlObjectInfo construtor |
|
47 // ---------------------------------------------------------------------------- |
|
48 CBrCtlObjectInfo::CBrCtlObjectInfo(TBool aAppSupported, TBool aPluginSupported, |
|
49 const TDesC& aSize, const TDesC& aAppName, |
|
50 const TDesC& aFileType) |
|
51 { |
|
52 iAppSupported = aAppSupported; |
|
53 iPluginSupported = aPluginSupported; |
|
54 iSize.Set(aSize); |
|
55 iAppName.Set(aAppName); |
|
56 iFileType.Set(aFileType); |
|
57 } |
|
58 |
|
59 // End of File |