00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __TOOLBOX_MP3FILEINFOS_H
00010 #define __TOOLBOX_MP3FILEINFOS_H
00011
00012
00013 namespace toolbox
00014 {
00020 class MP3FileInfos
00021 {
00022 private:
00023
00027 char * Artist;
00028
00032 char * Song;
00033
00041 static void Capitalize(char * string);
00042
00050 static void Trim(char * string);
00051
00052 public:
00053
00057 MP3FileInfos();
00058
00062 ~MP3FileInfos();
00063
00068 inline char * GetArtist();
00069
00074 inline char * GetSong();
00075
00079 void Normalize();
00080
00085 void ReadFrom(const char * path);
00086
00093 void SetArtist(char * artist);
00094
00101 void SetSong(char * song);
00102 };
00103 }
00104
00105
00106 #endif