harvester/server/inc/mdsactivescheduler.h
changeset 0 c53acadfccc6
equal deleted inserted replaced
-1:000000000000 0:c53acadfccc6
       
     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:
       
    15 *
       
    16 */
       
    17 
       
    18 #include <e32base.h>
       
    19 
       
    20 #ifndef MDSACTIVESCHEDULER_H_
       
    21 #define MDSACTIVESCHEDULER_H_
       
    22 
       
    23 class CMdsActiveScheduler : public CActiveScheduler
       
    24 {
       
    25 public:
       
    26 	IMPORT_C virtual void WaitForAnyRequest();
       
    27 	IMPORT_C void SetAllowedAOStatus(TRequestStatus& aStatus);
       
    28 	IMPORT_C void RemoveAllowedAOStatus();
       
    29 	IMPORT_C virtual void Error(TInt aError) const;
       
    30 private:
       
    31 	TRequestStatus* iAllowedAOStatus;
       
    32 };
       
    33 
       
    34 #endif /*MDSACTIVESCHEDULER_H_*/