ImagePrint/ImagePrintUI/imageprinteng/inc/midleprinteventregisterif.h
branchGCC_SURGE
changeset 25 59ea2209bb67
parent 23 08cc4cc059d4
parent 15 a92d00fca574
equal deleted inserted replaced
23:08cc4cc059d4 25:59ea2209bb67
     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 MIDLEPRINTEVENTREGISTERIF_H
       
    20 #define MIDLEPRINTEVENTREGISTERIF_H
       
    21 
       
    22 #include <e32def.h>
       
    23 
       
    24 class MIdlePrintEventObserver;
       
    25 
       
    26 /**
       
    27  *
       
    28  * Interface to use the idle print event functionality of Image Print Engine
       
    29  *
       
    30  */
       
    31 class MIdlePrintEventRegisterIF
       
    32     {	
       
    33 	public:		// Abstract methods
       
    34 
       
    35         
       
    36         /**
       
    37          *  Registers class to IdlePrintEventObserver. After registration
       
    38          *  the class receives idle events
       
    39          *  
       
    40          *  @param aIdleObserver class that wants to register
       
    41          *
       
    42          */
       
    43         virtual void RegisterObserver( MIdlePrintEventObserver* aIdleObserver ) = 0;
       
    44         
       
    45         /**
       
    46          *  Unregisters class from IdlePrintEventObserver. After unregistration
       
    47          *  the class stops receiving idle events. Class is also deleted from observer
       
    48          *  array.
       
    49          *  
       
    50          *  @param aIdleObserver class that wants to unregister
       
    51          *
       
    52          */        
       
    53         virtual void UnRegisterObserver( MIdlePrintEventObserver* aIdleObserver ) = 0;
       
    54     };
       
    55 
       
    56 #endif // MIDLEPRINTEVENTREGISTERIF_H
       
    57 
       
    58 //  End of File