contentstorage/casrv/carunningappmonitor/inc/carunningtaskhandler.h
changeset 116 305818acdca4
parent 112 dbfb5e38438b
child 119 50e220be30d1
equal deleted inserted replaced
112:dbfb5e38438b 116:305818acdca4
     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 "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: carunningtaskhandler.h
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef M_CARUNNINGTASKHANDLER_H
       
    19 #define M_CARUNNINGTASKHANDLER_H
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 /**
       
    24  * Running task handler.
       
    25  * Interface declaration.
       
    26  */
       
    27 NONSHARABLE_CLASS( MCaRunningTaskHandler )
       
    28     {
       
    29 public:
       
    30     /**
       
    31      * Function register running task on handler.
       
    32      * Ownership is transfered to handler
       
    33      * @param aTask - running task
       
    34      */
       
    35     virtual void RegisterTaskL( CBase* aTask )=0;
       
    36     
       
    37     /**
       
    38      * Function unregister running task on handler.
       
    39      * Ownership is transfered to caller.
       
    40      * @param aTask - running task
       
    41      */
       
    42     virtual void UnregisterTask( CBase* aTask )=0;
       
    43     };
       
    44 
       
    45 #endif //M_CARUNNINGTASKHANDLER_H
       
    46