os/security/securityanddataprivacytools/securitytools/certapp/store--/e32cons.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200 (2014-06-10)
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 #ifndef __e32cons_h__
     2 #define __e32cons_h__/*
     3 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     4 * All rights reserved.
     5 * This component and the accompanying materials are made available
     6 * under the terms of the License "Eclipse Public License v1.0"
     7 * which accompanies this distribution, and is available
     8 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     9 *
    10 * Initial Contributors:
    11 * Nokia Corporation - initial contribution.
    12 *
    13 * Contributors:
    14 *
    15 * Description: 
    16 *
    17 */
    18 
    19 
    20 #include <e32base.h>
    21 /**
    22  * @file
    23  * @internalComponent
    24  */
    25 const TInt KConsFullScreen=-1;
    26 
    27 typedef TInt TKeyCode;
    28 
    29 class CConsoleBase
    30 	{
    31 public:
    32 	void Printf(const TDesC16 &aFmt, ...);
    33 	//	void Printf(const std::wstring str);
    34 	TKeyCode Getch() { return 0x2a; }
    35 	void Close() {}
    36 	};
    37 
    38 class Console
    39 	{
    40 public:
    41 	static CConsoleBase *NewL(const TDesC &aTitle, TSize aSize);
    42 	};
    43 
    44 #endif