securitydialogs/SecUi/Inc/SecUiWait.h
changeset 26 aad866c37519
parent 17 8957df7b0072
equal deleted inserted replaced
22:6b63ca65093a 26:aad866c37519
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 #ifndef     __SECUIWAIT_H
    20 #ifndef     __SECUIWAIT_H
    21 #define     __SECUIWAIT_H
    21 #define     __SECUIWAIT_H
    22 
       
    23 #if defined(_DEBUG)
       
    24 #define RDEBUG( x, y ) RDebug::Printf( "%s %s (%u) %s=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, x, y );
       
    25 #else
       
    26 #define RDEBUG( x, y )
       
    27 #endif
       
    28 
    22 
    29 //  INCLUDES
    23 //  INCLUDES
    30 
    24 
    31 #include    <e32base.h>
    25 #include    <e32base.h>
    32 #include    <eikappui.h>
    26 #include    <eikappui.h>
    80         // namely in situations where destructor is called when Wait
    74         // namely in situations where destructor is called when Wait
    81         // is active.
    75         // is active.
    82         TInt iRequestType;
    76         TInt iRequestType;
    83     };
    77     };
    84 
    78 
       
    79 // CAutolockQuery, absorbs all the key presses.
       
    80 class CAutolockQuery : public CBase
       
    81     {
       
    82     public:
       
    83         static CAutolockQuery* NewLC();
       
    84         virtual ~CAutolockQuery();
       
    85     private:
       
    86         virtual TKeyResponse OfferKeyEventL(const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/);
       
    87     private:
       
    88         CAutolockQuery();
       
    89         void ConstructL();
       
    90     private: // Data
       
    91          CEikAppUi*  iAppUi;
    85 
    92 
       
    93 
       
    94     };
    86 // CWaitAbsorbingControl, absorbs all the key presses.
    95 // CWaitAbsorbingControl, absorbs all the key presses.
    87 class CWaitAbsorbingControl : public CCoeControl
    96 class CWaitAbsorbingControl : public CBase
    88     {
    97     {
    89     public:
    98     public:
    90         static CWaitAbsorbingControl* NewLC();
    99         static CWaitAbsorbingControl* NewLC();
    91         virtual ~CWaitAbsorbingControl();
   100         virtual ~CWaitAbsorbingControl();
    92     private:
   101     private: