ImagePrint/ImagePrintUI/imageprintprovider/inc/caiwimageprintif.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 CAIWIMAGEPRINTIF_H
       
    20 #define CAIWIMAGEPRINTIF_H
       
    21 
       
    22 #include <AiwServiceIfMenu.h>
       
    23 #include <badesca.h>
       
    24 #include <eikenv.h>
       
    25 
       
    26 class CAiwImagePrintIf : public CAiwServiceIfMenu
       
    27 {
       
    28     public:
       
    29 
       
    30         ~CAiwImagePrintIf();
       
    31 
       
    32     public:
       
    33 
       
    34         CDesCArrayFlat* GetImageArrayL( const CAiwGenericParamList& aInParamList );
       
    35 
       
    36     protected:
       
    37 
       
    38         CAiwImagePrintIf();
       
    39 
       
    40     protected: // From CAiwServiceIfMenu
       
    41 
       
    42         TBool IsPrintingSupportedL( const CAiwGenericParamList& aInParamList );
       
    43         
       
    44         TBool IsPrintingSupportedL( const TDesC& aFileName );
       
    45         
       
    46         TBool IsProtectedL( const TDesC& aFileName );
       
    47 
       
    48         TBool CheckMIMETypeL( const TDesC8& aMimeType, const TDesC& aFileName );
       
    49         
       
    50     protected: // Implementation
       
    51         void ConstructL();
       
    52 
       
    53     protected: // data
       
    54     
       
    55         CEikonEnv& iEikEnv; //Allow CAiwPrintingProvider and CAiwPreviewProvider
       
    56                             //to use Eikon Environment without CEikonEnv::Static()
       
    57 
       
    58     private: //data
       
    59     
       
    60         TInt iResourceOffset;
       
    61       
       
    62 };
       
    63 
       
    64 #endif // CAIWIMAGEPRINTIF_H
       
    65 
       
    66 //  End of File