imagehandlingutilities/thumbnailmanager/inc/thumbnailmanagerconstants.h
branchRCL_3
changeset 21 ad31f4183ddc
parent 20 ffb2d5dd62e9
child 24 f0aa341a25bf
equal deleted inserted replaced
20:ffb2d5dd62e9 21:ad31f4183ddc
   107 
   107 
   108 const TDisplayMode KThumbnailDefaultDisplayMode = EColor64K;
   108 const TDisplayMode KThumbnailDefaultDisplayMode = EColor64K;
   109 
   109 
   110 //default displaymode (bpp - bits per pixel) for TNs in DB
   110 //default displaymode (bpp - bits per pixel) for TNs in DB
   111 //this makes possible to provide all colour depths up to 16M aka 24 -bit full colour
   111 //this makes possible to provide all colour depths up to 16M aka 24 -bit full colour
       
   112 //Symbian^3 EColor16M
   112 const TDisplayMode KStoreDisplayMode = EColor16M;
   113 const TDisplayMode KStoreDisplayMode = EColor16M;
   113 
   114 
   114 //required amount of memory to keep bitmaps on RAM in bits
   115 //required amount of memory to keep bitmaps on RAM in bits
   115 const TInt KMemoryNeed = 5000000;
   116 const TInt KMemoryNeed = 5000000;
   116 
   117 
   153 _LIT8( KM4aMime,    "audio/mp4" );           _LIT( KM4aExt,  ".m4a" );
   154 _LIT8( KM4aMime,    "audio/mp4" );           _LIT( KM4aExt,  ".m4a" );
   154 _LIT8( KAacMime,     "audio/aac" );             _LIT( KAacExt,  ".aac" );
   155 _LIT8( KAacMime,     "audio/aac" );             _LIT( KAacExt,  ".aac" );
   155 _LIT8( KWmaMime,     "audio/x-ms-wma" );        _LIT( KWmaExt,  ".wma" );
   156 _LIT8( KWmaMime,     "audio/x-ms-wma" );        _LIT( KWmaExt,  ".wma" );
   156 _LIT8( KBmpMime,     "image/bmp" );             _LIT( KBmpExt,  ".bmp" );
   157 _LIT8( KBmpMime,     "image/bmp" );             _LIT( KBmpExt,  ".bmp" );
   157 _LIT8( KAudio3gppMime,     "audio/3gpp" ); 
   158 _LIT8( KAudio3gppMime,     "audio/3gpp" ); 
   158 _LIT8( KVideo3gppMime,     "video/3gpp" );  _LIT( K3gpExt,  ".3gp" );
   159 _LIT8( KVideo3gppMime,     "video/3gpp" );  _LIT( K3gpExt,  ".3gp" ); _LIT( K3gppExt,  ".3gpp" );
   159 _LIT8( KAudioAmrMime,     "audio/AMR" );     _LIT( KAmrExt,  ".amr" );
   160 _LIT8( KAudioAmrMime,     "audio/AMR" );     _LIT( KAmrExt,  ".amr" );
   160 _LIT8( KVideoWmvMime, "video/x-ms-wmv" );     _LIT( KWmvExt,    ".wmv" );
   161 _LIT8( KVideoWmvMime, "video/x-ms-wmv" );     _LIT( KWmvExt,    ".wmv" );
   161 _LIT8( KRealAudioMime, "audio/vnd.rn-realaudio" );        _LIT( KRealAudioExt,    ".ra" );
   162 _LIT8( KRealAudioMime, "audio/vnd.rn-realaudio" );        _LIT( KRealAudioExt,    ".ra" );
   162 _LIT8( KPmRealAudioPluginMime, "audio/x-pn-realaudio-plugin" ); _LIT( KPmRealAudioPluginExt,    ".rpm" );
   163 _LIT8( KPmRealAudioPluginMime, "audio/x-pn-realaudio-plugin" ); _LIT( KPmRealAudioPluginExt,    ".rpm" );
   163 _LIT8( KPmRealVideoPluginMime, "video/x-pn-realvideo" ); _LIT( KPmRealVideoPluginExt,    ".rm" );
   164 _LIT8( KPmRealVideoPluginMime, "video/x-pn-realvideo" ); _LIT( KPmRealVideoPluginExt,    ".rm" );
   278      * (for example for distinguishing between preview thumbnails and
   279      * (for example for distinguishing between preview thumbnails and
   279      * final thumbnails).
   280      * final thumbnails).
   280 	 * Control flags may be modified by server to signal client side what actually was done, like preview TN
   281 	 * Control flags may be modified by server to signal client side what actually was done, like preview TN
   281      */
   282      */
   282     TThumbnailControlFlags iControlFlags;
   283     TThumbnailControlFlags iControlFlags;
   283     
   284     	
   284 	
       
   285     /**
   285     /**
   286      * Original control flags set by the server for handling specific situations
   286      * Original control flags set by the server for handling specific situations
   287      * (for example for distinguishing between preview thumbnails and
   287      * (for example for distinguishing between preview thumbnails and
   288      * final thumbnails).
   288      * final thumbnails).
   289      */
   289      */
   296     
   296     
   297     /**
   297     /**
   298      * Thumbnail's orientation
   298      * Thumbnail's orientation
   299      */
   299      */
   300     TInt iOrientation;
   300     TInt iOrientation;
       
   301     
       
   302     /**
       
   303      * Overwrite old thumbs (SetThumbnailL)
       
   304      */
       
   305     TBool iOverwrite;
   301     };
   306     };
   302 
   307 
   303 
   308 
   304 typedef TPckg < TThumbnailRequestParams > TThumbnailRequestParamsPckg;
   309 typedef TPckg < TThumbnailRequestParams > TThumbnailRequestParamsPckg;
   305 typedef TPckgBuf < TThumbnailRequestParams > TThumbnailRequestParamsPckgBuf;
   310 typedef TPckgBuf < TThumbnailRequestParams > TThumbnailRequestParamsPckgBuf;