ImagePrint/ImagePrintUI/imageprinteng/inc/mprintpreviewobserver.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 MPRINTPREVIEWOBSERVER_H
       
    20 #define MPRINTPREVIEWOBSERVER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 /**
       
    25  *
       
    26  *  Observer class that will get notification message when the print preview
       
    27  *  is ready
       
    28  *
       
    29  */
       
    30 class MPrintPreviewObserver
       
    31     {
       
    32     public:
       
    33         
       
    34         /**
       
    35          *  Gets called when the print server has finished the generation
       
    36          *  of preview bitmap
       
    37          *
       
    38          *  @param aHandle      Handle to the FBS bitmap
       
    39          */
       
    40         virtual void PreviewBitmapReady( TInt aHandle, 
       
    41                                          TBool aPaperLandscape ) = 0;
       
    42 
       
    43         virtual TSize PaperSizeLandscape() = 0;
       
    44 
       
    45         virtual TSize PaperSizePortrait() = 0;
       
    46 
       
    47         virtual TPoint PaperPositionLanscape() = 0;
       
    48 
       
    49         virtual TPoint PaperPositionPortrait() = 0;
       
    50 
       
    51     };
       
    52 
       
    53 #endif  // MPRINTPREVIEWOBSERVER_H
       
    54 
       
    55 //  End of File