photosgallery/controllers/imageviewer/inc/glximageviewermanager.h
branchRCL_3
changeset 75 01504893d9cb
parent 60 5b3385a43d68
equal deleted inserted replaced
68:5b238bc8ffb6 75:01504893d9cb
    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 #include <imageconversion.h>
    26 
    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();
       
    60 
    58 
    61 private:
    59 private:
    62 
    60 
    63     /**
    61     /**
    64      * Two-phased constructor.
    62      * Two-phased constructor.
    95     ContentAccess::CManager* iManager;
    93     ContentAccess::CManager* iManager;
    96     
    94     
    97     /// Flag that stores if the gif file is in a private folder. 
    95     /// Flag that stores if the gif file is in a private folder. 
    98     /// ETrue means the gif is from private path, else EFalse 
    96     /// ETrue means the gif is from private path, else EFalse 
    99     TBool iIsPrivateGif;
    97     TBool iIsPrivateGif;
   100 
       
   101     /// Image Decoder, which keeps the file in use while viewing
       
   102     CImageDecoder* iImageDecoder;
       
   103     };
    98     };
   104 
    99 
   105 #endif // GLXIMAGEVIEWERMANAGER_H
   100 #endif // GLXIMAGEVIEWERMANAGER_H