smf/smfservermodule/smfcommon/smfmusicfingerprint.h
changeset 25 a180113055cb
parent 18 013a02bf2bb0
equal deleted inserted replaced
24:1cee9f1b95e0 25:a180113055cb
    20 #ifndef SMFMUSICFINGERPRINT_H_
    20 #ifndef SMFMUSICFINGERPRINT_H_
    21 #define SMFMUSICFINGERPRINT_H_
    21 #define SMFMUSICFINGERPRINT_H_
    22 
    22 
    23 #include <QDataStream>
    23 #include <QDataStream>
    24 #include <QSharedData>
    24 #include <QSharedData>
       
    25 #include <QMetaType>
       
    26 
    25 #include "smfclientglobal.h"
    27 #include "smfclientglobal.h"
    26 #include <QMetaType>
       
    27 
    28 
    28 class SmfMusicFingerPrintPrivate;
    29 class SmfMusicFingerPrintPrivate;
    29 
    30 
    30 /**
    31 /**
    31  * @ingroup smf_common_group
    32  * @ingroup smf_common_group
    61 	 * @return The music finger print data
    62 	 * @return The music finger print data
    62 	 */
    63 	 */
    63 	QByteArray musicFingerPrint ( ) const;
    64 	QByteArray musicFingerPrint ( ) const;
    64 	
    65 	
    65 	/**
    66 	/**
       
    67 	 * Method to get the service specific id of this fingerprint data
       
    68 	 * @return The ID value 
       
    69 	 */
       
    70 	QString id( ) const;
       
    71 	
       
    72 	/**
    66 	 * Method to set the music finger print data
    73 	 * Method to set the music finger print data
    67 	 * @param aFp The music finger print data
    74 	 * @param aFp The music finger print data
    68 	 */
    75 	 */
    69 	void setMusicFingerPrint ( const QByteArray &aFp);
    76 	void setMusicFingerPrint ( const QByteArray &aFp);
       
    77 	
       
    78 	/**
       
    79 	 * Method to set the service specific id of this fingerprint data
       
    80 	 * @param aId The ID value 
       
    81 	 */
       
    82 	void setId( const QString &aId );
    70 	
    83 	
    71 private:
    84 private:
    72 	QSharedDataPointer<SmfMusicFingerPrintPrivate> d;
    85 	QSharedDataPointer<SmfMusicFingerPrintPrivate> d;
    73 	
    86 	
    74 	friend QDataStream &operator<<( QDataStream &aDataStream, 
    87 	friend QDataStream &operator<<( QDataStream &aDataStream,