equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2004 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __WIDGETCALLBACKS_H |
|
21 #define __WIDGETCALLBACKS_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 |
|
26 class MJSWidgetCallbacks |
|
27 { |
|
28 public: |
|
29 virtual void openApplication( const TUid& aAppUid, const TDesC& aParam ) = 0; |
|
30 virtual void openUrl( const TDesC& aUrl ) = 0; |
|
31 virtual TDesC& getWidgetBundleId() = 0; |
|
32 virtual TInt preferenceForKey( const TDesC& aKey, TPtrC& aValue ) = 0; |
|
33 virtual void prepareForTransition( const TDesC& aTransition ) = 0; |
|
34 virtual void performTransition() = 0; |
|
35 virtual void setPreferenceForKey( const TDesC& aKey, const TDesC& aValue ) = 0; |
|
36 virtual void removePreferenceForKey( const TDesC& aKey, const TDesC& aValue ) = 0; |
|
37 virtual void setNavigationEnabled( TBool aEnable ) = 0; |
|
38 virtual void setDisplayLandscape() = 0; |
|
39 virtual void setDisplayPortrait() = 0; |
|
40 }; |
|
41 |
|
42 #endif |