os/security/securityanddataprivacytools/securitytools/certapp/store--/e32cons.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/securityanddataprivacytools/securitytools/certapp/store--/e32cons.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +#ifndef __e32cons_h__
     1.5 +#define __e32cons_h__/*
     1.6 +* Copyright (c) 2008-2009 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 "Eclipse Public License v1.0"
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.eclipse.org/legal/epl-v10.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 +#include <e32base.h>
    1.24 +/**
    1.25 + * @file
    1.26 + * @internalComponent
    1.27 + */
    1.28 +const TInt KConsFullScreen=-1;
    1.29 +
    1.30 +typedef TInt TKeyCode;
    1.31 +
    1.32 +class CConsoleBase
    1.33 +	{
    1.34 +public:
    1.35 +	void Printf(const TDesC16 &aFmt, ...);
    1.36 +	//	void Printf(const std::wstring str);
    1.37 +	TKeyCode Getch() { return 0x2a; }
    1.38 +	void Close() {}
    1.39 +	};
    1.40 +
    1.41 +class Console
    1.42 +	{
    1.43 +public:
    1.44 +	static CConsoleBase *NewL(const TDesC &aTitle, TSize aSize);
    1.45 +	};
    1.46 +
    1.47 +#endif