epoc32/include/mw/eikhfdlg.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     1 /*
     2 * Copyright (c) 1997-1999 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 *
    16 */
    17 
    18 
    19 #if !defined(__EIKHGDLG_H__)
    20 #define __EIKHGDLG_H__
    21 
    22 #if !defined(__EIKDIALG_H__)
    23 #include <eikdialg.h>
    24 #endif
    25 
    26 #if !defined(__COECNTRL_H__)
    27 #include <coecntrl.h>
    28 #endif
    29 
    30 #if !defined(__EIKENV_H__)
    31 #include <eikenv.h>
    32 #endif
    33 
    34 
    35 class CCoeRedrawer;
    36 class CSchedulerShaker;
    37 
    38 class TEikHeapFailModel
    39 	{
    40 public:
    41 	TInt iHeapFailRate;
    42 	TInt iHeapFailType;
    43 	TInt iWservFailRate;
    44 	TInt iWservFailType;
    45 	TInt iFileFailRate;
    46 	TInt iFileFailType;
    47 	};
    48 
    49 
    50 //
    51 //	class CEikDebugKeys
    52 //
    53 
    54 class CEikDebugKeys : public CCoeControl, public MEikDebugKeys
    55 	{
    56 public: 
    57     // From CCoeControl
    58     IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);	
    59 private: // from MEikDebugKeys
    60 	void ConstructL();
    61 	void Release();
    62 private: // framework
    63 	virtual TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
    64 	void InfoNote(const TDesC& aDes);
    65 private:
    66 	friend class CEikonEnv;
    67 //	friend class CDebugKeysDlg;
    68 //	friend class CDebugKeysAppUi;
    69 	TEikHeapFailModel iModel;
    70 	TBool iVerbose;
    71 	CCoeRedrawer* iPhantomBorderDrawer;
    72 	CSchedulerShaker* iSchedulerShaker;
    73 	};
    74 
    75 
    76 //
    77 //	class CEikDebugWin
    78 //
    79 
    80 class CEikDebugWin : public CCoeControl
    81     {
    82 public:
    83     void ConstructL();
    84     IMPORT_C void HandlePointerEventL(const TPointerEvent& aPointerEvent);	
    85 private:
    86 	void Draw(const TRect& aRect) const;
    87     };
    88 
    89 
    90 #endif