Ticket #1753: mythcdrom.h.patch

File mythcdrom.h.patch, 770 bytes (added by awk@…, 13 years ago)

libs/libmyth/mythcdrom.h - patch for Darwin CD subclass

  • mythcdrom.h

     
    6565    virtual MediaError unlock(void);
    6666};
    6767
     68class MythCDROMDarwin: public MythCDROM
     69{
     70public:
     71    MythCDROMDarwin(QObject* par, const char* DevicePath, bool SuperMount,
     72        bool AllowEject):
     73        MythCDROM(par, DevicePath, SuperMount, AllowEject) {
     74    }
     75
     76    virtual bool openDevice();
     77    virtual MediaError testMedia(void);
     78    virtual bool mediaChanged(void);
     79    virtual bool checkOK(void);
     80    virtual MediaStatus checkMedia(void);
     81    virtual MediaError eject(bool open_close = true);
     82    virtual MediaError lock(void);
     83    virtual MediaError unlock(void);
     84};
     85
    6886#endif