diff -r 10e98eab6f85 -r a359256acfc6 webengine/osswebengine/WebKit/s60/webview/BrCtlSoftkeysObserverImpl.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/webengine/osswebengine/WebKit/s60/webview/BrCtlSoftkeysObserverImpl.h Thu Aug 27 07:44:59 2009 +0300 @@ -0,0 +1,54 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Handle softkeys updates +* +*/ + + + +#ifndef CRCTLSOFTKEYSOBSERVERIMPL_H +#define CRCTLSOFTKEYSOBSERVERIMPL_H + +// INCLUDES +#include + + +/** +* This observer is notified when the browser requests softkeys changes +* +* @lib BrowserEngine.lib +* @since 2.8 +*/ +class CBrCtlSoftkeysObserver: public CBase, public MBrCtlSoftkeysObserver + { + public: // From MBrCtlSoftkeysObserver + + /** + * Browser Control requests to update a softkey + * @since 2.8 + * @param aKeySoftkey Update the left softkey or the right softkey + * @param aLabel The label associated with the softkey update + * @param aCommandId The command to use if the softkey is selected by the user + * @param aBrCtlSoftkeyChangeReason The reason for the softkey change + * @return void + */ + virtual void UpdateSoftkeyL(TBrCtlKeySoftkey /*aKeySoftkey*/, + const TDesC& /*aLabel*/, + TUint32 /*aCommandId*/, + TBrCtlSoftkeyChangeReason /*aBrCtlSoftkeyChangeReason*/) {} + }; + +#endif // BRCTLSOFTKEYSOBSERVERIMPL_H + +// End of File