sapi_logging/tsrc/testing/tloggingservicetest/inc/tlogcallback.h
changeset 0 14df0fbfcc4e
equal deleted inserted replaced
-1:000000000000 0:14df0fbfcc4e
       
     1 /*
       
     2 * Copyright (c) 2009 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  * Forward declartaions
       
    20  */
       
    21 
       
    22 #include<e32def.h>
       
    23 #include"logiter.h" 
       
    24  class MLoggingCallback ;
       
    25  class CSapiEvent ;
       
    26  class CActiveSchedulerWait ;
       
    27 
       
    28 /**
       
    29  * Generic call back function
       
    30  */
       
    31 NONSHARABLE_CLASS (MLogCallback):public MLoggingCallback
       
    32 {
       
    33 	public:
       
    34 	 void HandleNotifyL(TUint aTransid ,TUint aStatus , CLogIter *iter )  ;
       
    35 	 
       
    36 	 void CancelNotifyL(TUint aTransid);
       
    37 								   
       
    38 	 MLogCallback() ;
       
    39 	 
       
    40 	 //---------------------------------------------------------
       
    41 	 // Starts the wait loop
       
    42 	 //---------------------------------------------------------
       
    43 	 void Start() ;
       
    44 	 ~MLogCallback() ;
       
    45 	 
       
    46 	 
       
    47 								   
       
    48 	private :							   
       
    49 	   CActiveSchedulerWait *iScheduler ;
       
    50 };