mmfenh/enhancedmediaclient/Client/src/Components/SourceBase/SourceBase.h
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     1 /*
       
     2 * Copyright (c) 2006 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:  This file contains the base implementation of Source.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SOURCEBASE_H
       
    20 #define SOURCEBASE_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 
       
    25 class MCustomCommand;
       
    26 class TMMFMessageDestination;
       
    27 
       
    28 namespace multimedia
       
    29     {
       
    30     // CLASS DECLARATION
       
    31     class CSourceBase : public CBase
       
    32         {
       
    33         public: // Constructors and destructor
       
    34             virtual ~CSourceBase();
       
    35             virtual void ServerSourceCreated(
       
    36                 MCustomCommand& aCustomCommand,
       
    37                 TMMFMessageDestination& aSourceHandle );
       
    38             
       
    39             virtual void ServerSourceDeleted();
       
    40             virtual TBool IsEncrypted() = 0;
       
    41             virtual TUid GetSourceUid() = 0;
       
    42             virtual TInt GetHeaderData(TPtr& aPtr) = 0;
       
    43         };
       
    44     } // namespace multimedia
       
    45 
       
    46 #endif // SOURCEBASE_H
       
    47 
       
    48 //  End of File