mmappfw_plat/mpx_playback_common_definition_api/inc/mpxplaybackpluginversion2.h
changeset 21 a05c44bc3c61
parent 0 a2952bb97e68
equal deleted inserted replaced
20:b1fb57be53fe 21:a05c44bc3c61
    37     *
    37     *
    38     * @since S60 9.2
    38     * @since S60 9.2
    39     * @param aUri URI of the item
    39     * @param aUri URI of the item
    40     * @param aType the mime type of the item
    40     * @param aType the mime type of the item
    41     * @param aAccessPoint the access point
    41     * @param aAccessPoint the access point
       
    42     * @param aPosition the starting position
    42     */
    43     */
    43     virtual void InitStreamingL(const TDesC& aUri, const TDesC8& aType, TInt aAccessPoint) = 0;
    44     virtual void InitStreamingL(const TDesC& aUri, const TDesC8& aType, TInt aAccessPoint, TInt aPosition = 0) = 0; 
    44 
    45 
    45     /**
    46     /**
    46     * Initializes a file handle for playback.
    47     * Initializes a file handle for playback.
    47     *
    48     *
    48     * @since S60 9.2
    49     * @since S60 9.2
    49     * @param aFile file handle of a file
    50     * @param aFile file handle of a file
    50     * @param aAccessPoint the access point
    51     * @param aAccessPoint the access point
       
    52     * @param aPosition the starting position
    51     */
    53     */
    52     virtual void InitStreamingL(RFile& aFile, TInt aAccessPoint) = 0;
    54     virtual void InitStreamingL(RFile& aFile, TInt aAccessPoint, TInt aPosition = 0) = 0; 
    53     
    55     
    54 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
    56 #ifdef SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
    55     /**
    57     /**
    56     * Initializes a file handle for playback.
    58     * Initializes a file handle for playback.
    57     *
    59     *
    58     * @since S60 9.2
    60     * @since S60 9.2
    59     * @param aFile 64 bit file handle of a file
    61     * @param aFile 64 bit file handle of a file
    60     * @param aAccessPoint the access point
    62     * @param aAccessPoint the access point
       
    63     * @param aPosition the starting position
    61     */
    64     */
    62     virtual void InitStreaming64L(RFile64& aFile, TInt aAccessPoint) = 0;
    65     virtual void InitStreaming64L(RFile64& aFile, TInt aAccessPoint, TInt aPosition = 0) = 0; 
    63 
    66 
    64     /**
    67     /**
    65     * Initializes a song for playback.
    68     * Initializes a song for playback.
    66     *
    69     *
    67     * @since S60 9.2
    70     * @since S60 9.2
    68     * @param aFile 64 bit file handle of a song
    71     * @param aFile 64 bit file handle of a song
       
    72     * @param aPosition the starting position
    69     */
    73     */
    70     virtual void Initialise64L(RFile64& aSong) = 0;
    74     virtual void Initialise64L(RFile64& aSong, TInt aPosition = 0) = 0; 
    71 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
    75 #endif // SYMBIAN_ENABLE_64_BIT_FILE_SERVER_API
       
    76     
       
    77 
       
    78     /**
       
    79     * Initializes a song for playback.
       
    80     *
       
    81     * @since S60 9.2
       
    82     * @param aSong the song path
       
    83     * @param aPosition the starting position
       
    84     */
       
    85     virtual void InitialiseWithPositionL(const TDesC& aSong, TInt aPosition = 0) = 0;
       
    86     
       
    87     /**
       
    88     * Initializes a song for playback.
       
    89     *
       
    90     * @since S60 9.2
       
    91     * @param aFile file handle of a song
       
    92     * @param aPosition the starting position
       
    93     */
       
    94     virtual void InitialiseWithPositionL(RFile& aSong, TInt aPosition = 0) = 0;
       
    95     
    72     };
    96     };
    73     
    97     
    74 #endif // CMPXPLAYBACKPLUGINVERSION2_H
    98 #endif // CMPXPLAYBACKPLUGINVERSION2_H