equal
deleted
inserted
replaced
30 // CPVCameraSourceNodeProxy::CPVCameraSourceNodeProxy |
30 // CPVCameraSourceNodeProxy::CPVCameraSourceNodeProxy |
31 // Constructor. |
31 // Constructor. |
32 // ----------------------------------------------------------------------------- |
32 // ----------------------------------------------------------------------------- |
33 // |
33 // |
34 CPVCameraSourceNodeProxy::CPVCameraSourceNodeProxy() : MVTVideoSink(KNullUid) |
34 CPVCameraSourceNodeProxy::CPVCameraSourceNodeProxy() : MVTVideoSink(KNullUid) |
35 { |
35 { |
36 } |
|
37 |
|
38 // ----------------------------------------------------------------------------- |
|
39 // CPVCameraSourceNodeProxy::~CPVCameraSourceNodeProxy |
|
40 // destructor.add for memory leak |
|
41 // ----------------------------------------------------------------------------- |
|
42 // |
|
43 CPVCameraSourceNodeProxy::~CPVCameraSourceNodeProxy() |
|
44 { |
|
45 __IF_DEBUG(Print(_L("VTProto: CPVCameraSourceNodeProxy::~CPVCameraSourceNodeProxy<"))); |
|
46 __IF_DEBUG(Print(_L("VTProto: CPVCameraSourceNodeProxy::~CPVCameraSourceNodeProxy>"))); |
|
47 } |
36 } |
48 |
37 |
49 // ----------------------------------------------------------------------------- |
38 // ----------------------------------------------------------------------------- |
50 // CPVCameraSourceNodeProxy::SetConsumer |
39 // CPVCameraSourceNodeProxy::SetConsumer |
51 // Set consumer object. |
40 // Set consumer object. |
91 // |
80 // |
92 CVideoSourceProxy::CVideoSourceProxy(MVTVideoSource* aDataSource) : MPVDataSource(KNullUid), iVideoSource(aDataSource) |
81 CVideoSourceProxy::CVideoSourceProxy(MVTVideoSource* aDataSource) : MPVDataSource(KNullUid), iVideoSource(aDataSource) |
93 { |
82 { |
94 __IF_DEBUG(Print(_L("VTProto: CVideoSourceProxy::CVideoSourceProxy<"))); |
83 __IF_DEBUG(Print(_L("VTProto: CVideoSourceProxy::CVideoSourceProxy<"))); |
95 __IF_DEBUG(Print(_L("VTProto: CVideoSourceProxy::CVideoSourceProxy iVideoSource %d>"), iVideoSource)); |
84 __IF_DEBUG(Print(_L("VTProto: CVideoSourceProxy::CVideoSourceProxy iVideoSource %d>"), iVideoSource)); |
96 } |
|
97 |
|
98 // ----------------------------------------------------------------------------- |
|
99 // CVideoSourceProxy::~CVideoSourceProxy |
|
100 // destructor.add for memory leak |
|
101 // ----------------------------------------------------------------------------- |
|
102 // |
|
103 CVideoSourceProxy::~CVideoSourceProxy() |
|
104 { |
|
105 __IF_DEBUG(Print(_L("VTProto: CVideoSourceProxy::~CVideoSourceProxy<"))); |
|
106 delete iCameraSourceNodeProxy; |
|
107 __IF_DEBUG(Print(_L("VTProto: CVideoSourceProxy::~CVideoSourceProxy>"))); |
|
108 } |
85 } |
109 |
86 |
110 // ----------------------------------------------------------------------------- |
87 // ----------------------------------------------------------------------------- |
111 // CVideoSourceProxy::ConstructL |
88 // CVideoSourceProxy::ConstructL |
112 // ----------------------------------------------------------------------------- |
89 // ----------------------------------------------------------------------------- |