webengine/wmlengine/src/utils/include/util_cdispatchereng.h
branchRCL_3
changeset 49 919f36ff910f
parent 0 dd21522fd290
equal deleted inserted replaced
48:79859ed3eea9 49:919f36ff910f
       
     1 /*
       
     2 * Copyright (c) 1999 - 2001 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 the License "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 /*
       
    20     $Workfile: util_cdispatchereng.h $
       
    21 
       
    22 */
       
    23 #ifndef __UTIL_CDISPATCHERENG_H__
       
    24 #define __UTIL_CDISPATCHERENG_H__
       
    25 
       
    26 #include <e32cons.h>
       
    27 #include <e32base.h>
       
    28 #include <e32std.h>
       
    29 
       
    30 NONSHARABLE_CLASS(CDispatcherEng) : public CActive {
       
    31                 
       
    32 public:
       
    33   CDispatcherEng(CActive::TPriority aPriority);
       
    34 
       
    35   ~CDispatcherEng();
       
    36   
       
    37   void RequestEvent();
       
    38   void CompleteEvent();
       
    39   void RunL();
       
    40   void DoCancel();
       
    41   TInt RunError(TInt aError);
       
    42 
       
    43   NW_Bool IsDspContext();
       
    44   void SetDspContext(NW_Msg_Dispatcher_t* aDsp_cxt);
       
    45   
       
    46   //Data member (attribute);
       
    47   NW_Msg_Dispatcher_t* iDsp_cxt;
       
    48 };
       
    49 
       
    50 #endif //__UTIL_CDISPATCHERENG_H__