wvuing/wvuieng/EngInc/MCABackgroundTask.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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:  Callback for CIdle based background task
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MCABACKGROUNDTASK_H
       
    20 #define MCABACKGROUNDTASK_H
       
    21 
       
    22 // INCLUDES
       
    23 #include "PublicEngineDefinitions.h"
       
    24 #include <e32std.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *	Callback for CIdle based background task
       
    30 *
       
    31 *
       
    32 *  @lib CAEngine.lib
       
    33 *  @since 1.2
       
    34 */
       
    35 class MCABackgroundTask
       
    36     {
       
    37     public:
       
    38 
       
    39         /**
       
    40         * Its called by the CIdle
       
    41         * @param aSubTask is the number of subtask, its counting down
       
    42         */
       
    43         virtual void HandleBackgroundTaskL( TInt aSubTask ) = 0;
       
    44 
       
    45     protected:
       
    46 
       
    47         /**
       
    48         * Destructor.
       
    49         */
       
    50         virtual ~MCABackgroundTask() {};
       
    51     };
       
    52 
       
    53 #endif      // MCABACKGROUNDTASK_H
       
    54 
       
    55 // End of File