imagehandlingutilities/thumbnailmanager/thumbnailserver/inc/thumbnailcenrep.h
branchRCL_3
changeset 7 2eb74cf6572e
parent 0 2014ca87e772
child 20 2b4b06654caa
equal deleted inserted replaced
5:82749d516180 7:2eb74cf6572e
   140          */
   140          */
   141         EBmp
   141         EBmp
   142     };
   142     };
   143     
   143     
   144 public:
   144 public:
   145     enum { EUnknownSourceType, EImage, EVideo, EAudio };
   145     enum TThumbnailSourceType { EUnknownSourceType, EImage, EVideo, EAudio };
   146     enum { EUnknownSizeType, EGrid, EList, EFullscreen }; 
   146     enum TThumbnailSizeType { EUnknownSizeType, EGrid, EList, EFullscreen }; 
   147     
   147     
   148 public:
   148 public:
   149     
   149     
   150     /**
   150     /**
   151      * C++ constructor.
   151      * C++ constructor.
   158      */
   158      */
   159     TThumbnailPersistentSize( const TSize& aSize, TBool aCrop, TDisplayMode
   159     TThumbnailPersistentSize( const TSize& aSize, TBool aCrop, TDisplayMode
   160                               aMode, TInt aFormat );
   160                               aMode, TInt aFormat );
   161     
   161     
   162     TThumbnailPersistentSize( TThumbnailSize aType, const TSize& aSize, TBool aCrop, TDisplayMode
   162     TThumbnailPersistentSize( TThumbnailSize aType, const TSize& aSize, TBool aCrop, TDisplayMode
   163                               aMode, TInt aFormat, TBool aAutoCreate );
   163                               aMode, TInt aFormat, TBool aAutoCreate, TThumbnailSizeType aSizeType  );
   164     
   164     
   165 public:
   165 public:
   166     
   166     
   167     // data
   167     // data
   168     TThumbnailSize iType;
   168     TThumbnailSize iType;
   169     TInt iSourceType;
   169     TThumbnailSourceType iSourceType;
   170     TInt iSizeType;
       
   171     
       
   172     TSize iSize;
   170     TSize iSize;
   173     TBool iCrop;
   171     TBool iCrop;
   174     TDisplayMode iMode;
   172     TDisplayMode iMode;
   175     TInt iFormat;
   173     TInt iFormat;
   176     
       
   177     TBool iAutoCreate;
   174     TBool iAutoCreate;
       
   175     TThumbnailSizeType iSizeType;
   178 };
   176 };
   179 
   177 
   180 /**
   178 /**
   181  *  Class for representing thumbnail auto creation parameters.
   179  *  Class for representing thumbnail auto creation parameters.
   182  *
   180  *