photosgallery/controllers/imageviewer/inc/glximageviewermanager.h
branchRCL_3
changeset 24 ea65f74e6de4
parent 17 a60acebbbd9d
equal deleted inserted replaced
23:b023a8d2866a 24:ea65f74e6de4
    21 
    21 
    22 // INCLUDES
    22 // INCLUDES
    23 #include <e32std.h>
    23 #include <e32std.h>
    24 #include <e32base.h>
    24 #include <e32base.h>
    25 #include <caf/manager.h>
    25 #include <caf/manager.h>
    26 
    26 #include <imageconversion.h>
    27 // CLASS DECLARATION
    27 // CLASS DECLARATION
    28 class RFile;
    28 class RFile;
    29 class RFile64;
    29 class RFile64;
    30 
    30 
    31 /**
    31 /**
    53     IMPORT_C TBool IsPrivateGif();
    53     IMPORT_C TBool IsPrivateGif();
    54     IMPORT_C void DeleteInstance( void );
    54     IMPORT_C void DeleteInstance( void );
    55     IMPORT_C void SetImageUriL(const TDesC& aFileName);
    55     IMPORT_C void SetImageUriL(const TDesC& aFileName);
    56     IMPORT_C void SetImageFileHandleL(const RFile& aFileHandle);
    56     IMPORT_C void SetImageFileHandleL(const RFile& aFileHandle);
    57     IMPORT_C void Reset();
    57     IMPORT_C void Reset();
       
    58     IMPORT_C void CreateImageDecoderL();    
       
    59     IMPORT_C void CloseImageDecoder();
    58 
    60 
    59 private:
    61 private:
    60 
    62 
    61     /**
    63     /**
    62      * Two-phased constructor.
    64      * Two-phased constructor.
    93     ContentAccess::CManager* iManager;
    95     ContentAccess::CManager* iManager;
    94     
    96     
    95     /// Flag that stores if the gif file is in a private folder. 
    97     /// Flag that stores if the gif file is in a private folder. 
    96     /// ETrue means the gif is from private path, else EFalse 
    98     /// ETrue means the gif is from private path, else EFalse 
    97     TBool iIsPrivateGif;
    99     TBool iIsPrivateGif;
       
   100 
       
   101     /// Image Decoder, which keeps the file in use while viewing
       
   102     CImageDecoder* iImageDecoder;
    98     };
   103     };
    99 
   104 
   100 #endif // GLXIMAGEVIEWERMANAGER_H
   105 #endif // GLXIMAGEVIEWERMANAGER_H