ImagePrint/ImagePrintEngine/ImagePrintServer/inc/cimageprintscheduler.h
branchRCL_3
changeset 21 d59c248c9d36
parent 0 d11fb78c4374
equal deleted inserted replaced
20:159fc2f68139 21:d59c248c9d36
       
     1 /*
       
     2 * Copyright (c) 2004-2007 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 
       
    19 #ifndef CIMAGEPRINTSCHEDULER_H
       
    20 #define CIMAGEPRINTSCHEDULER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 
       
    24 class MProtIdleObserver;
       
    25 
       
    26 class CImagePrintScheduler : public CActiveScheduler
       
    27 	{
       
    28 	public: // from CActiveScheduler
       
    29 		void Error(TInt aError) const;
       
    30 	public:
       
    31 	
       
    32 		/**
       
    33          *	Idle observer setter. Asynchronous errors (leaves) will be
       
    34          *	propagated to this observer
       
    35          *
       
    36          *	@param aIdleObserver idle observer
       
    37          */
       
    38 		void SetIdleObserver( MProtIdleObserver& aIdleObserver );
       
    39 		
       
    40 		/**
       
    41          *	Current protocol id setter
       
    42          *
       
    43          *	@param aProtocol current protocol id
       
    44          */
       
    45 		void SetCurrentProtocol( TInt aProtocol );
       
    46 		
       
    47 	private:
       
    48 		MProtIdleObserver* iIdleObserver;
       
    49 		TInt iCurrentProtocol;						
       
    50 	};
       
    51 
       
    52 
       
    53 #endif // CIMAGEPRINTSCHEDULER_H
       
    54 
       
    55 //  End of File