williamr@2: /* williamr@2: * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: williamr@2: #ifndef __AKNMFNECOMMANDOBSERVER williamr@2: #define __AKNMFNECOMMANDOBSERVER williamr@2: williamr@2: #include williamr@2: williamr@2: // CLASS DECLARATION williamr@2: williamr@2: /** williamr@2: * Interface for giving commands to MFNE editors from the owning controls. williamr@2: * This interface was added to forward touch command button events to MFNE williamr@2: * editors. The interface can be extended later by adding more commands to williamr@2: * TMfneCommand enum if needed. williamr@2: * williamr@2: * @lib eikctl.lib williamr@2: * @since Series 60 3.0 williamr@2: */ williamr@2: class MAknMfneCommandObserver williamr@2: { williamr@2: public: williamr@2: williamr@2: /** williamr@2: * List of commands that can be given to MFNE editor with williamr@2: * HandleMfneCommand() function williamr@2: */ williamr@2: enum TMfneCommand williamr@2: { williamr@2: EMfneIncrementCurrentFieldValue, williamr@2: EMfneDecrementCurrentFieldValue williamr@2: }; williamr@2: williamr@2: /** williamr@2: * Interface function allowing other classes to give commands to MFNE editors. williamr@2: * The commands are defined in TMfneCommand enum. williamr@2: * williamr@2: * @since Series 60 5.0 williamr@2: * @param aCommand Command defined in TMfneCommand williamr@2: */ williamr@2: virtual void HandleMfneCommandL(TInt aCommand) = 0; williamr@2: }; williamr@2: williamr@2: #endif // __AKNMFNECOMMANDOBSERVER williamr@2: williamr@2: // End of File