itunesxmlwrite.h 764 B

123456789101112131415161718192021222324252627282930313233
  1. //------------------------------------------------------------------------
  2. //
  3. // iTunes XML Library Writer
  4. // Copyright © 2003-2014 Winamp SA
  5. //
  6. //------------------------------------------------------------------------
  7. #ifndef _ITUNESXMLWRITE_H
  8. #define _ITUNESXMLWRITE_H
  9. class plistKey;
  10. class XMLWrite;
  11. class plistData;
  12. #include <bfc/string/stringw.h>
  13. //------------------------------------------------------------------------
  14. class iTunesXmlWrite {
  15. public:
  16. iTunesXmlWrite();
  17. virtual ~iTunesXmlWrite();
  18. int pickFile(HWND hwndDlg, const wchar_t *title=NULL);
  19. void saveXml(plistKey *rootkey);
  20. void writeData(XMLWrite *writer, plistData *data);
  21. private:
  22. StringW file;
  23. };
  24. #endif
  25. //------------------------------------------------------------------------