5#ifndef DOPTIFCALDISCMANAGER_H
6#define DOPTIFCALDISCMANAGER_H
16class DOpticalDiscInfo;
17class DOpticalDiscOperator;
19namespace DOpticalDiscManager {
20[[nodiscard]] DTK_CORE_NAMESPACE::DExpected<DOpticalDiscInfo *>
createOpticalDiscInfo(
const QString &dev, QObject *parent =
nullptr);
21[[nodiscard]] DTK_CORE_NAMESPACE::DExpected<DOpticalDiscOperator *>
createOpticalDiscOperator(
const QString &dev, QObject *parent =
nullptr);
DTK_CORE_NAMESPACE::DExpected< DOpticalDiscOperator * > createOpticalDiscOperator(const QString &dev, QObject *parent=nullptr)
创建一个光盘操作类对象
DTK_CORE_NAMESPACE::DExpected< DOpticalDiscInfo * > createOpticalDiscInfo(const QString &dev, QObject *parent)
创建一个光盘信息对象,由于光盘的物理特性,调用此接口可能会很慢