Added ENotifyKeypresses and ECaptureCtrlC flags to CCommandBase.
Commands can now get keypresses and handle ctrl-C via callbacks instead of having to implement custom active objects. As part of this extended the CCommandBase extension interface to MCommandExtensionsV2 for the new virtual functions KeyPressed(TUint aKeyCode, TUint aModifiers) and CtrlCPressed(). sudo now cleans up correctly by using ECaptureCtrlC.
// platform_generic.mmh
//
// Copyright (c) 2010 Accenture. All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the "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:
// Accenture - Initial contribution
//
#ifndef FSHELL_PLATFORM_GENERIC_MMH
#define FSHELL_PLATFORM_GENERIC_MMH
#define FSHELL_CAP_ALL
#define FSHELL_PROTECTED_UIDS
// Note FSHELL_PLATFORM_S60 is defined in the 3rd or 5th ed platform.mmh
#ifdef WINS
#define FSHELL_CORE_SUPPORT_LOCAL_ICON
#define FSHELL_CORE_SUPPORT_RCONS_ICON
#else
#define FSHELL_CORE_SUPPORT_LOCAL_ICON
#define FSHELL_CORE_SUPPORT_TCP_ICON
#define FSHELL_CORE_SUPPORT_BT_ICON
#endif
// Seems like this should be defined in a variant.hrh file, but it doesn't appear to be...
#ifndef SYMBIAN_JAVA_NOT_INCLUDED
#define SYMBIAN_JAVA_NOT_INCLUDED
#endif
#endif // FSHELL_PLATFORM_GENERIC_MMH