vtprotocols/src/cdatasourceproxy.cpp
branchRCL_3
changeset 40 7fb4a99d4b6b
parent 0 ed9695c8bcbe
child 49 8e703580edd3
equal deleted inserted replaced
37:590f6f022902 40:7fb4a99d4b6b
    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>")));
    36     }
    47     }
    37 
    48 
    38 // -----------------------------------------------------------------------------
    49 // -----------------------------------------------------------------------------
    39 // CPVCameraSourceNodeProxy::SetConsumer
    50 // CPVCameraSourceNodeProxy::SetConsumer
    40 // Set consumer object.
    51 // Set consumer object.
    80 //
    91 //
    81 CVideoSourceProxy::CVideoSourceProxy(MVTVideoSource* aDataSource) : MPVDataSource(KNullUid), iVideoSource(aDataSource) 
    92 CVideoSourceProxy::CVideoSourceProxy(MVTVideoSource* aDataSource) : MPVDataSource(KNullUid), iVideoSource(aDataSource) 
    82     {
    93     {
    83     __IF_DEBUG(Print(_L("VTProto: CVideoSourceProxy::CVideoSourceProxy<")));
    94     __IF_DEBUG(Print(_L("VTProto: CVideoSourceProxy::CVideoSourceProxy<")));
    84     __IF_DEBUG(Print(_L("VTProto: CVideoSourceProxy::CVideoSourceProxy iVideoSource %d>"), iVideoSource));	
    95     __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>"))); 
    85     }
   108     }
    86 
   109 
    87 // -----------------------------------------------------------------------------
   110 // -----------------------------------------------------------------------------
    88 // CVideoSourceProxy::ConstructL
   111 // CVideoSourceProxy::ConstructL
    89 // -----------------------------------------------------------------------------
   112 // -----------------------------------------------------------------------------