1
0

Header.h 554 B

12345678910111213141516171819202122
  1. #ifndef NULLSOFT_IN_DSHOW_HEADER_H
  2. #define NULLSOFT_IN_DSHOW_HEADER_H
  3. #include <wchar.h>
  4. class Header
  5. {
  6. public:
  7. Header();
  8. virtual ~Header();
  9. virtual int getInfos(const wchar_t *filename, bool checkMetadata)=0;
  10. // benski> this is a shitty way to do it, but there's too much code I'd have to change
  11. wchar_t *title, *artist, *comment, *genre, *album, *composer, *publisher;
  12. bool has_audio, has_video;
  13. int length;
  14. int audio_nch, audio_bps, audio_srate;
  15. int video_w, video_h;
  16. };
  17. Header *MakeHeader(const wchar_t *filename, bool metadata);
  18. #endif