--- a/photosgallery/controllers/imageviewer/inc/glximageviewermanager.h Thu Jul 15 18:39:01 2010 +0300
+++ b/photosgallery/controllers/imageviewer/inc/glximageviewermanager.h Thu Aug 19 09:55:03 2010 +0300
@@ -23,7 +23,7 @@
#include <e32std.h>
#include <e32base.h>
#include <caf/manager.h>
-
+#include <imageconversion.h>
// CLASS DECLARATION
class RFile;
class RFile64;
@@ -55,6 +55,8 @@
IMPORT_C void SetImageUriL(const TDesC& aFileName);
IMPORT_C void SetImageFileHandleL(const RFile& aFileHandle);
IMPORT_C void Reset();
+ IMPORT_C void CreateImageDecoderL();
+ IMPORT_C void CloseImageDecoder();
private:
@@ -95,6 +97,9 @@
/// Flag that stores if the gif file is in a private folder.
/// ETrue means the gif is from private path, else EFalse
TBool iIsPrivateGif;
+
+ /// Image Decoder, which keeps the file in use while viewing
+ CImageDecoder* iImageDecoder;
};
#endif // GLXIMAGEVIEWERMANAGER_H