|
1 // Copyright (c) 2005-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 #include <fbs.h> |
|
17 #include "TestExifDerived.h" |
|
18 |
|
19 |
|
20 /*static*/ |
|
21 CTestExifDerivedDecoder* CTestExifDerivedDecoder::NewL() |
|
22 { |
|
23 CTestExifDerivedDecoder* self=new (ELeave) CTestExifDerivedDecoder(); |
|
24 CleanupStack::PushL(self); |
|
25 self->CJPEGExifDecoder::ConstructL(); |
|
26 CleanupStack::Pop(self); |
|
27 return self; |
|
28 } |
|
29 |
|
30 |
|
31 |
|
32 /*static*/ |
|
33 CTestExifDerivedEncoder* CTestExifDerivedEncoder::NewL() |
|
34 { |
|
35 CTestExifDerivedEncoder* self=new (ELeave) CTestExifDerivedEncoder(); |
|
36 CleanupStack::PushL(self); |
|
37 self->CJPEGExifEncoder::ConstructL(); |
|
38 CleanupStack::Pop(self); |
|
39 return self; |
|
40 } |
|
41 |
|
42 /*static*/ |
|
43 CDummyExifDecoder* CDummyExifDecoder::NewL() |
|
44 { |
|
45 return new (ELeave) CDummyExifDecoder(); |
|
46 } |
|
47 |
|
48 MExifMetadata* CDummyExifDecoder::ExifMetadata() |
|
49 { |
|
50 return reinterpret_cast<MExifMetadata*>(1); |
|
51 } |
|
52 |
|
53 void CDummyExifDecoder::ImageType(TInt /*aFrameNumber*/, TUid& /*aImageType*/, TUid& /*aImageSubType*/) const |
|
54 { |
|
55 } |
|
56 |
|
57 void CDummyExifDecoder::ScanDataL() |
|
58 { |
|
59 } |
|
60 |
|
61 CFrameInfoStrings* CDummyExifDecoder::FrameInfoStringsL(RFs& /*aFs*/, TInt /*aFrameNumber*/) |
|
62 { |
|
63 return NULL; |
|
64 } |
|
65 |
|
66 /*static*/ |
|
67 CDummyExifEncoder* CDummyExifEncoder::NewL() |
|
68 { |
|
69 return new (ELeave) CDummyExifEncoder(); |
|
70 } |
|
71 |
|
72 MExifMetadata* CDummyExifEncoder::ExifMetadata() |
|
73 { |
|
74 return reinterpret_cast<MExifMetadata*>(1); |
|
75 } |
|
76 |
|
77 void CDummyExifEncoder::PrepareEncoderL(const CFrameImageData* /*aFrameImageData*/) |
|
78 { |
|
79 } |
|
80 |
|
81 void CDummyExifEncoder::UpdateHeaderL() |
|
82 { |
|
83 } |
|
84 |
|
85 |
|
86 |