mpx/playbackframework/playbackengine/inc/mpxplaybackplugininfo.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     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:  Plugin info class for Playback engine
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MPXPLAYBACKPLUGININFO_H
       
    20 #define C_MPXPLAYBACKPLUGININFO_H
       
    21 
       
    22 #include <badesca.h>
       
    23 #include <mpxplugininfo.h>
       
    24 
       
    25 /**
       
    26  *  Playback derived plugin info class
       
    27  *
       
    28  *  @lib mpxplaybackengine.dll
       
    29  *  @since S60 3.2
       
    30  */
       
    31 NONSHARABLE_CLASS( CMPXPlaybackPluginInfo ) : public CMPXPluginInfo
       
    32     {
       
    33 
       
    34 public:
       
    35 
       
    36     /**
       
    37     * Two-Phased constructor
       
    38     * @param aData implementation data
       
    39     * @return CMPXPlaybackPluginInfo*
       
    40     */
       
    41     static CMPXPlaybackPluginInfo* NewL( const CImplementationInformation& aData );
       
    42 
       
    43     /**
       
    44     * Two-Phased constructor
       
    45     * @param aData implementation data
       
    46     * @return CMPXPlaybackPluginInfo* on cleanupstack
       
    47     */
       
    48     static CMPXPlaybackPluginInfo* NewLC( const CImplementationInformation& aData );
       
    49      
       
    50     
       
    51     /**
       
    52     * Virtual destructor
       
    53     */ 
       
    54     virtual ~CMPXPlaybackPluginInfo();
       
    55 
       
    56 protected: // From base class
       
    57     
       
    58     /**
       
    59      * Process a extended tagged data which derived class may support.
       
    60      * Default implementation in this class just ignore the data.
       
    61      *
       
    62      * @since S60 3.2.3
       
    63      * @param aTag  xml-styled tag
       
    64      * @param aData data in the xml-styled tag
       
    65      */
       
    66     IMPORT_C virtual void ProcessTaggedDataExL(const TDesC8& aTag, const TDesC8& aData);
       
    67     
       
    68 private: 
       
    69     
       
    70     /**
       
    71     * Two-phased constructor
       
    72     */
       
    73     void ConstructL( const CImplementationInformation& aData );
       
    74     
       
    75     /**
       
    76     * C++ Constructor
       
    77     */
       
    78     CMPXPlaybackPluginInfo();
       
    79     
       
    80 public: 
       
    81 
       
    82     /**
       
    83     * Extract the supported interfaces
       
    84     */
       
    85     void ExtractSupportedInterfacesL( const TDesC8& aData ); 
       
    86     
       
    87     /**
       
    88     * Returns supported interfaces.
       
    89     * 
       
    90     * @return supported interfaces
       
    91     */
       
    92     const CDesCArray& SupportedInterfaces() const;    
       
    93     
       
    94 private: // data
       
    95 
       
    96     CDesCArray* iSupportedInterfaces; 
       
    97     };
       
    98 
       
    99 #endif // C_MPXPLAYBACKPLUGININFO_H