imagehandlingutilities/thumbnailmanager/thumbnailclient/src/thumbnailobjectsource.cpp
branchRCL_3
changeset 21 ad31f4183ddc
parent 0 2014ca87e772
child 30 b67379558a75
child 37 f759b6186ab5
equal deleted inserted replaced
20:ffb2d5dd62e9 21:ad31f4183ddc
   132     aMimeType)
   132     aMimeType)
   133     {
   133     {
   134     iUri = aUri.AllocL();
   134     iUri = aUri.AllocL();
   135     iMimeType = HBufC8::NewL( aMimeType.Length() );
   135     iMimeType = HBufC8::NewL( aMimeType.Length() );
   136     iMimeType->Des().Copy( aMimeType );
   136     iMimeType->Des().Copy( aMimeType );
       
   137     iBitmap = NULL;
   137     }
   138     }
   138 
   139 
   139 
   140 
   140 // ---------------------------------------------------------------------------
   141 // ---------------------------------------------------------------------------
   141 // CThumbnailObjectSource::ConstructL()
   142 // CThumbnailObjectSource::ConstructL()
   147     {
   148     {
   148     iFile = aFile;
   149     iFile = aFile;
   149     iMimeType = HBufC8::NewL( aMimeType.Length() );
   150     iMimeType = HBufC8::NewL( aMimeType.Length() );
   150     iMimeType->Des().Copy( aMimeType );
   151     iMimeType->Des().Copy( aMimeType );
   151     iThumbnailId = 0;
   152     iThumbnailId = 0;
       
   153     iBitmap = NULL;
   152     }
   154     }
   153 
   155 
   154 // ---------------------------------------------------------------------------
   156 // ---------------------------------------------------------------------------
   155 // CThumbnailObjectSource::ConstructL()
   157 // CThumbnailObjectSource::ConstructL()
   156 // Symbian 2nd phase constructor can leave.
   158 // Symbian 2nd phase constructor can leave.
   175     iBuffer = aBuffer;
   177     iBuffer = aBuffer;
   176     iMimeType = HBufC8::NewL( aMimeType.Length() );
   178     iMimeType = HBufC8::NewL( aMimeType.Length() );
   177     iMimeType->Des().Copy( aMimeType );
   179     iMimeType->Des().Copy( aMimeType );
   178     iUri = aUri.AllocL(); 
   180     iUri = aUri.AllocL(); 
   179     iThumbnailId = 0;
   181     iThumbnailId = 0;
       
   182     iBitmap = NULL;
   180     }
   183     }
   181 
   184 
   182 // ---------------------------------------------------------------------------
   185 // ---------------------------------------------------------------------------
   183 // CThumbnailObjectSource::ConstructL()
   186 // CThumbnailObjectSource::ConstructL()
   184 // Symbian 2nd phase constructor can leave.
   187 // Symbian 2nd phase constructor can leave.