1
0

DataBurner.h 573 B

1234567891011121314151617181920
  1. #pragma once
  2. #include "obj_databurner.h"
  3. #include "BurnerCommon.h"
  4. class DataBurner : public obj_databurner, protected BurnerCommon
  5. {
  6. public:
  7. DataBurner(obj_primo *primo);
  8. ~DataBurner();
  9. int Open(const wchar_t *volumeName, wchar_t driveLetter, int format);
  10. int AddFile(const wchar_t *source, const wchar_t *destination);
  11. int AddFolder(const wchar_t *folder);
  12. int Write(int flags, unsigned int speed, ifc_burner_writecallback *callback);
  13. inline void ForceCallback() { BurnerCommon::TriggerCallback(); }
  14. protected:
  15. RECVS_DISPATCH;
  16. private:
  17. wchar_t driveLetter;
  18. };