vtprotocolsstub/inc/cdatasinkproxy.h
changeset 0 ed9695c8bcbe
equal deleted inserted replaced
-1:000000000000 0:ed9695c8bcbe
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Data Sink Proxy interface
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CDATASINKPROXY_H
       
    19 #define CDATASINKPROXY_H
       
    20 
       
    21 NONSHARABLE_CLASS( CDisplaySinkProxy ) : public CBase
       
    22     {
       
    23     public:
       
    24         /**
       
    25          * Constructor.
       
    26          */
       
    27         CDisplaySinkProxy(MVTVideoSink* aDisplaySink);
       
    28         
       
    29         /**
       
    30          * ConstructL
       
    31          */
       
    32         void ConstructL();
       
    33 
       
    34         /**
       
    35          * NewL
       
    36          */
       
    37         static CDisplaySinkProxy* NewL(MVTVideoSink* aDisplaySink);
       
    38         /**
       
    39          * Get pointer object of data sink.
       
    40          * @return member variant:iDisplaySink
       
    41          */
       
    42         MVTVideoSink* DisplaySink() { return iDisplaySink; }
       
    43     private:
       
    44         MVTVideoSink* iDisplaySink;        
       
    45     };
       
    46 
       
    47 NONSHARABLE_CLASS( CAudioSinkProxy ) : public CBase,
       
    48                                        public MVTAudioSink
       
    49     {
       
    50     };
       
    51     
       
    52 #endif
       
    53 //  End of File