equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef EXIFTRANSFORM_H |
|
17 #define EXIFTRANSFORM_H |
|
18 |
|
19 #include "exifreaderwriter.h" // For MExifMetadata declaration |
|
20 |
|
21 // CExifTransform - provides specialisation of CExifReaderWriter for use within the |
|
22 // Jpeg Exif transform plugin |
|
23 |
|
24 class CExifTransform : public CExifReaderWriter |
|
25 { |
|
26 public: |
|
27 static CExifTransform* NewL(const TUint8* aData = NULL, const TUint aApp1Size = 0); |
|
28 ~CExifTransform(); |
|
29 |
|
30 // Functions not derived from MExifMetadata. |
|
31 TInt CreateExifChunk(HBufC8*& aExifChunk); |
|
32 |
|
33 void CheckUpdateMandatoryTagsL(); |
|
34 TBool CheckImageSizeTags(); |
|
35 void UpdateImageSizeTagsL(const TSize &aSize); |
|
36 private: // functions |
|
37 CExifTransform(); |
|
38 void ConstructL(const TUint8* aData, const TUint aApp1Size); |
|
39 virtual void SetIfd1L(); |
|
40 void CreateExifHeaderL(HBufC8*& aBuffer); |
|
41 }; |
|
42 |
|
43 #endif // EXIFTRANSFORM_H |