Line
Link Here
|
0 |
-- include/AudioMp3.h |
0 |
++ include/AudioMp3.h |
Lines 11-17
Link Here
|
11 |
class AudioMp3: public MyAudioFile |
11 |
class AudioMp3: public MyAudioFile |
12 |
{ |
12 |
{ |
13 |
public: |
13 |
public: |
14 |
AudioMp3::AudioMp3( std::string filename ); |
14 |
AudioMp3( std::string filename ); |
15 |
std::string &getTitle() { return _title; }; |
15 |
std::string &getTitle() { return _title; }; |
16 |
void setTitle( std::string str ) { _title = str; }; |
16 |
void setTitle( std::string str ) { _title = str; }; |
17 |
std::string &getArtist() { return _artist;} ; |
17 |
std::string &getArtist() { return _artist;} ; |
18 |
-- include/AudioOgg.h |
18 |
++ include/AudioOgg.h |
Lines 11-17
Link Here
|
11 |
class AudioOgg: public MyAudioFile |
11 |
class AudioOgg: public MyAudioFile |
12 |
{ |
12 |
{ |
13 |
public: |
13 |
public: |
14 |
AudioOgg::AudioOgg( std::string filename ); |
14 |
AudioOgg( std::string filename ); |
15 |
std::string &getTitle() { return _title; }; |
15 |
std::string &getTitle() { return _title; }; |
16 |
void setTitle( std::string str ) { _title = str; } |
16 |
void setTitle( std::string str ) { _title = str; } |
17 |
std::string &getArtist() { return _artist;} ; |
17 |
std::string &getArtist() { return _artist;} ; |
18 |
-- include/AudioWav.h |
18 |
++ include/AudioWav.h |
Lines 11-17
Link Here
|
11 |
class AudioWav: public MyAudioFile |
11 |
class AudioWav: public MyAudioFile |
12 |
{ |
12 |
{ |
13 |
public: |
13 |
public: |
14 |
AudioWav::AudioWav( std::string filename ); |
14 |
AudioWav( std::string filename ); |
15 |
std::string &getTitle() { return _title; }; |
15 |
std::string &getTitle() { return _title; }; |
16 |
std::string &getArtist() { return _artist;} ; |
16 |
std::string &getArtist() { return _artist;} ; |
17 |
// std::string &getAlbum() { return _album; }; |
17 |
// std::string &getAlbum() { return _album; }; |
18 |
-- include/BitTorrent.h |
18 |
++ include/BitTorrent.h |
Lines 67-73
Link Here
|
67 |
public: |
67 |
public: |
68 |
~BitTorrent(); |
68 |
~BitTorrent(); |
69 |
static BitTorrent* decode( const char* buf, int len ); |
69 |
static BitTorrent* decode( const char* buf, int len ); |
70 |
static BitTorrent* BitTorrent::bt_decode_file( const char* filename ); |
70 |
static BitTorrent* bt_decode_file( const char* filename ); |
71 |
void setAnnounce( const std::string& announce ); |
71 |
void setAnnounce( const std::string& announce ); |
72 |
const std::string& getAnnounce() const; |
72 |
const std::string& getAnnounce() const; |
73 |
void setSingleFile( bool s ); |
73 |
void setSingleFile( bool s ); |