Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/SDK/burner/DataBurner.h

21 lines
573 B
C
Raw 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;
};