winamp/Src/Plugins/SDK/burner/DataBurner.h

21 lines
573 B
C
Raw Permalink Normal View History

2024-09-24 12:54:57 +00:00
#pragma once
#include "obj_databurner.h"
#include "BurnerCommon.h"
class DataBurner : public obj_databurner, protected BurnerCommon
{
public:
DataBurner(obj_primo *primo);
~DataBurner();
int Open(const wchar_t *volumeName, wchar_t driveLetter, int format);
int AddFile(const wchar_t *source, const wchar_t *destination);
int AddFolder(const wchar_t *folder);
int Write(int flags, unsigned int speed, ifc_burner_writecallback *callback);
inline void ForceCallback() { BurnerCommon::TriggerCallback(); }
protected:
RECVS_DISPATCH;
private:
wchar_t driveLetter;
};