|
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 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: |
|
15 * API provider. |
|
16 * |
|
17 * |
|
18 */ |
|
19 |
|
20 |
|
21 #ifndef __MULTIPLE_WINDOWS_APIPROVIDER_H__ |
|
22 #define __MULTIPLE_WINDOWS_APIPROVIDER_H__ |
|
23 |
|
24 // INCLUDES FILES |
|
25 #include "WmlBrowserBuild.h" |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CBrCtlInterface; |
|
29 //class CBrowserDialogsProvider; |
|
30 class CBrowserDisplay; |
|
31 class CBrowserLoadObserver; |
|
32 class CBrowserSoftkeysObserver; |
|
33 class CBrowserSpecialLoadObserver; |
|
34 class CBrowserWindowManager; |
|
35 |
|
36 // CLASS DECLARATION |
|
37 |
|
38 /** |
|
39 * Interface to query several API implementations via Window class. |
|
40 * |
|
41 * @lib Browser.app |
|
42 * @since Series 60 3.0 |
|
43 */ |
|
44 class MWindowApiProvider |
|
45 { |
|
46 public: |
|
47 #if 0 |
|
48 virtual CBrCtlInterface& BrCtlInterface() const = 0; |
|
49 // virtual CBrowserDialogsProvider& DialogsProvider() const = 0; |
|
50 virtual CBrowserDisplay& Display() const = 0; |
|
51 virtual CBrowserLoadObserver& LoadObserver() const = 0; |
|
52 virtual CBrowserSoftkeysObserver& SoftkeysObserver() const = 0; |
|
53 virtual CBrowserSpecialLoadObserver& SpecialLoadObserver() const = 0; |
|
54 virtual CBrowserWindowManager& WindowMgr() const = 0; |
|
55 #endif |
|
56 virtual TBool IsWindowActive() const = 0; |
|
57 virtual TInt WindowId() const = 0; |
|
58 virtual const TDesC* TargetName() const = 0; |
|
59 }; |
|
60 |
|
61 #endif // __MULTIPLE_WINDOWS_APIPROVIDER_H__ |
|
62 |
|
63 // End of File |