1.1 --- a/epoc32/include/mw/aknmfnecommandobserver.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/aknmfnecommandobserver.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,62 @@
1.4 -aknmfnecommandobserver.h
1.5 +/*
1.6 +* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* 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
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description:
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +
1.24 +#ifndef __AKNMFNECOMMANDOBSERVER
1.25 +#define __AKNMFNECOMMANDOBSERVER
1.26 +
1.27 +#include <e32base.h>
1.28 +
1.29 +// CLASS DECLARATION
1.30 +
1.31 +/**
1.32 +* Interface for giving commands to MFNE editors from the owning controls.
1.33 +* This interface was added to forward touch command button events to MFNE
1.34 +* editors. The interface can be extended later by adding more commands to
1.35 +* TMfneCommand enum if needed.
1.36 +*
1.37 +* @lib eikctl.lib
1.38 +* @since Series 60 3.0
1.39 +*/
1.40 +class MAknMfneCommandObserver
1.41 + {
1.42 + public:
1.43 +
1.44 + /**
1.45 + * List of commands that can be given to MFNE editor with
1.46 + * HandleMfneCommand() function
1.47 + */
1.48 + enum TMfneCommand
1.49 + {
1.50 + EMfneIncrementCurrentFieldValue,
1.51 + EMfneDecrementCurrentFieldValue
1.52 + };
1.53 +
1.54 + /**
1.55 + * Interface function allowing other classes to give commands to MFNE editors.
1.56 + * The commands are defined in TMfneCommand enum.
1.57 + *
1.58 + * @since Series 60 5.0
1.59 + * @param aCommand Command defined in TMfneCommand
1.60 + */
1.61 + virtual void HandleMfneCommandL(TInt aCommand) = 0;
1.62 + };
1.63 +
1.64 +#endif // __AKNMFNECOMMANDOBSERVER
1.65 +
1.66 +// End of File