33 lines
764 B
C++
33 lines
764 B
C++
//------------------------------------------------------------------------
|
|
//
|
|
// iTunes XML Library Writer
|
|
// Copyright © 2003-2014 Winamp SA
|
|
//
|
|
//------------------------------------------------------------------------
|
|
|
|
#ifndef _ITUNESXMLWRITE_H
|
|
#define _ITUNESXMLWRITE_H
|
|
|
|
class plistKey;
|
|
class XMLWrite;
|
|
class plistData;
|
|
#include <bfc/string/stringw.h>
|
|
//------------------------------------------------------------------------
|
|
|
|
class iTunesXmlWrite {
|
|
public:
|
|
iTunesXmlWrite();
|
|
virtual ~iTunesXmlWrite();
|
|
|
|
int pickFile(HWND hwndDlg, const wchar_t *title=NULL);
|
|
void saveXml(plistKey *rootkey);
|
|
|
|
void writeData(XMLWrite *writer, plistData *data);
|
|
|
|
private:
|
|
StringW file;
|
|
};
|
|
|
|
#endif
|
|
|
|
//------------------------------------------------------------------------
|