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