mpserviceplugins/m3uplaylistplugin/inc/mpxm3uplaylistplugin.h
changeset 25 3ec52facab4d
parent 19 4e84c994a771
equal deleted inserted replaced
22:ecf06a08d4d9 25:3ec52facab4d
    31 
    31 
    32 // CLASS DECLARATION
    32 // CLASS DECLARATION
    33 
    33 
    34 /**
    34 /**
    35 *  CMPXM3uPlaylistPlugin implements CMPXPlaylistPlugin to provide m3u
    35 *  CMPXM3uPlaylistPlugin implements CMPXPlaylistPlugin to provide m3u
    36 *  playlist importing and exporting services.
    36 *  playlist importing and exporting services. 
    37 */
    37 */
    38 NONSHARABLE_CLASS(CMPXM3uPlaylistPlugin) : public CMPXPlaylistPlugin
    38 NONSHARABLE_CLASS(CMPXM3uPlaylistPlugin) : public CMPXPlaylistPlugin
    39     {
    39     {
    40 public: // Constructors and destructor
    40 public: // Constructors and destructor
    41 
    41     
    42     /**
    42     /**
    43     * Two-phased constructor
    43     * Two-phased constructor
    44     *
    44     *
    45     * @param aInitParams constructor parameters
    45     * @param aInitParams constructor parameters
    46     * @return object of constructed
    46     * @return object of constructed
    49 
    49 
    50     /**
    50     /**
    51     * Destructor
    51     * Destructor
    52     */
    52     */
    53     ~CMPXM3uPlaylistPlugin();
    53     ~CMPXM3uPlaylistPlugin();
    54 
    54     
    55 public: // from base clase CMPXPlaylistPlugin
    55 public: // from base clase CMPXPlaylistPlugin
    56 
    56 
    57     /**
    57     /** 
    58     * Internalize a playlist
    58     * Internalize a playlist
    59     *
    59     *
    60     * @param aStatus caller's request status
    60     * @param aStatus caller's request status
    61     * @param aPlaylist a playlist
    61     * @param aPlaylist a playlist
    62     */
    62     */
    63     void InternalizePlaylistL(
    63     void InternalizePlaylistL(
    64         TRequestStatus& aStatus,
    64         TRequestStatus& aStatus,
    65         const TDesC& aPlaylistUri);
    65         const TDesC& aPlaylistUri);
    66 
    66 
    67     /**
    67     /** 
    68     * Externalize a playlist
    68     * Externalize a playlist
    69     *
    69     *
    70     * @param aStatus caller's request status
    70     * @param aStatus caller's request status
    71     * @param aPlaylist playlist to be externalized
    71     * @param aPlaylist playlist to be externalized
    72     * @param aFilePath File path for where the playlist should be placed
    72     * @param aFilePath File path for where the playlist should be placed
   103 
   103 
   104     /**
   104     /**
   105     * cancel a client request
   105     * cancel a client request
   106     */
   106     */
   107     void Cancel();
   107     void Cancel();
   108 
   108     
   109 private:
   109 private:
   110 
   110 
   111     /**
   111     /**
   112     * C++ Constructor
   112     * C++ Constructor
   113     */
   113     */
   114     CMPXM3uPlaylistPlugin();
   114     CMPXM3uPlaylistPlugin();
   115 
   115 
   116     /**
   116     /**
   117     * 2nd phase constructor
   117     * 2nd phase constructor
   118     */
   118     */    
   119     void ConstructL();
   119     void ConstructL();
   120 
   120     
   121 private:
   121 private:
   122 
   122 
   123     CMPXM3uPlaylistImporter* iImporter;
   123     CMPXM3uPlaylistImporter* iImporter;
   124     CMPXM3uPlaylistExporter* iExporter;
   124     CMPXM3uPlaylistExporter* iExporter;
   125     RArray<TMPXAttribute>    iRequiredAttributes;
   125     RArray<TMPXAttribute>    iRequiredAttributes;
   126     RArray<TMPXAttribute>    iOptionalAttributes;
   126     RArray<TMPXAttribute>    iOptionalAttributes;
   127     };
   127     };
   128 
   128 
   129 #endif   // MPXM3UPLAYLISTPLUGIN_H
   129 #endif   // MPXM3UPLAYLISTPLUGIN_H
       
   130             
   130 
   131 
   131