photosgallery/controllers/imageviewer/inc/glximageviewermanager.h
branchRCL_3
changeset 14 ce1c7ad1f18b
parent 4 57d388cc48c1
child 30 a60acebbbd9d
equal deleted inserted replaced
13:71da52165949 14:ce1c7ad1f18b
    20 #define GLXIMAGEVIEWERMANAGER_H
    20 #define GLXIMAGEVIEWERMANAGER_H
    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 
    26 
    26 // CLASS DECLARATION
    27 // CLASS DECLARATION
    27 class RFile;
    28 class RFile;
    28 class RFile64;
    29 class RFile64;
    29 
    30 
    47     
    48     
    48 public:
    49 public:
    49     IMPORT_C HBufC* ImageUri();
    50     IMPORT_C HBufC* ImageUri();
    50     IMPORT_C RFile64& ImageFileHandle();
    51     IMPORT_C RFile64& ImageFileHandle();
    51     IMPORT_C TBool IsPrivate();
    52     IMPORT_C TBool IsPrivate();
       
    53     IMPORT_C TBool IsPrivateGif();
    52     IMPORT_C void DeleteInstance( void );
    54     IMPORT_C void DeleteInstance( void );
    53     IMPORT_C void SetImageUriL(const TDesC& aFileName);
    55     IMPORT_C void SetImageUriL(const TDesC& aFileName);
    54     IMPORT_C void SetImageFileHandleL(const RFile& aFileHandle);
    56     IMPORT_C void SetImageFileHandleL(const RFile& aFileHandle);
    55     IMPORT_C void Reset();
    57     IMPORT_C void Reset();
    56 
    58 
    84     RFile64* iFile;
    86     RFile64* iFile;
    85 
    87 
    86     /// Flag that stores if the image file is in a private folder. 
    88     /// Flag that stores if the image file is in a private folder. 
    87     /// ETrue means the image is private, else EFalse 
    89     /// ETrue means the image is private, else EFalse 
    88     TBool iIsPrivate;
    90     TBool iIsPrivate;
       
    91 
       
    92     /// Content Access Manager
       
    93     ContentAccess::CManager* iManager;
       
    94     
       
    95     /// Flag that stores if the gif file is in a private folder. 
       
    96     /// ETrue means the gif is from private path, else EFalse 
       
    97     TBool iIsPrivateGif;
    89     };
    98     };
    90 
    99 
    91 #endif // GLXIMAGEVIEWERMANAGER_H
   100 #endif // GLXIMAGEVIEWERMANAGER_H