00001
00006 #ifndef _MP3CORE_H_
00007 #define _MP3CORE_H_
00008
00009 #include "id3tag.h"
00010
00017 class MP3Core
00018 {
00019 public:
00020
00024 MP3Core();
00025
00032 bool Params(int argc, const char *argv[]);
00033
00039 void GetInfo();
00040
00048 bool WriteResult();
00049
00054 bool Process();
00055
00060 static void ShowHelp(const char *filename);
00061
00062 private:
00063 const char *m_outfile;
00064 const char **m_infiles;
00065 bool m_showinfo;
00066 int m_gain;
00067 bool m_autocutstart;
00068 int m_autocutend;
00069 int m_cutstart;
00070 int m_cutend;
00071 int m_numframes;
00072 ID3Tag m_tag;
00073 };
00074
00075 #endif //_MP3CORE_H_