equal
deleted
inserted
replaced
37 |
37 |
38 class CxeDummyBuffer : public CBase, |
38 class CxeDummyBuffer : public CBase, |
39 public MCameraBuffer |
39 public MCameraBuffer |
40 { |
40 { |
41 public: |
41 public: |
42 CxeDummyBuffer() : iData(_L8("ABC")) |
42 CxeDummyBuffer(); |
43 { |
43 ~CxeDummyBuffer(); |
44 CX_DEBUG_IN_FUNCTION(); |
|
45 } |
|
46 |
|
47 ~CxeDummyBuffer() |
|
48 { |
|
49 CX_DEBUG_ENTER_FUNCTION(); |
|
50 delete iBitmap; |
|
51 CX_DEBUG_EXIT_FUNCTION(); |
|
52 } |
|
53 |
|
54 void CreateBitmapL( const TSize& aSize ); |
44 void CreateBitmapL( const TSize& aSize ); |
55 |
45 |
56 public: |
46 public: |
57 TInt NumFrames() { return 1; } |
47 TInt NumFrames() { return 1; } |
58 TDesC8* DataL(TInt aFrameIndex) { return &iData; } |
48 TDesC8* DataL(TInt aFrameIndex) { return &iData; } |
71 |
61 |
72 class CxeDummySnapshot : public CBase, |
62 class CxeDummySnapshot : public CBase, |
73 public MCameraSnapshot |
63 public MCameraSnapshot |
74 { |
64 { |
75 public: |
65 public: |
76 CxeDummySnapshot() |
66 CxeDummySnapshot(); |
77 { |
67 ~CxeDummySnapshot(); |
78 CX_DEBUG(("snap this = 0x%08x", this)); |
|
79 CX_DEBUG_IN_FUNCTION(); |
|
80 } |
|
81 ~CxeDummySnapshot() |
|
82 { |
|
83 CX_DEBUG_ENTER_FUNCTION(); |
|
84 delete iBuffer; |
|
85 CX_DEBUG_EXIT_FUNCTION(); |
|
86 } |
|
87 |
68 |
88 TUint32 SupportedFormats() { return 0; } |
69 TUint32 SupportedFormats() { return 0; } |
89 void PrepareSnapshotL(CCamera::TFormat aFormat, const TPoint& aPosition, const TSize& aSize, const TRgb& aBgColor, TBool aMaintainAspectRatio); |
70 void PrepareSnapshotL(CCamera::TFormat aFormat, const TPoint& aPosition, const TSize& aSize, const TRgb& aBgColor, TBool aMaintainAspectRatio); |
90 void PrepareSnapshotL(CCamera::TFormat aFormat, const TSize& aSize, TBool aMaintainAspectRatio); |
71 void PrepareSnapshotL(CCamera::TFormat aFormat, const TSize& aSize, TBool aMaintainAspectRatio); |
91 void SetBgColorL(const TRgb& aBgColor) {} |
72 void SetBgColorL(const TRgb& aBgColor) {} |