Ticket #1753: mythmediamonitor.h.patch

File mythmediamonitor.h.patch, 666 bytes (added by awk@…, 14 years ago)

libs/libmyth/mythmediamonitor.h - patch for Darwin specific methods.

  • mythmediamonitor.h

     
    1010
    1111#include "mythmedia.h"
    1212
     13#ifdef Q_OS_MACX
     14#include "mythmediamonitor-darwin.h"
     15#endif // Q_OS_MACX
     16
    1317const int kMediaEventType = 30042;
    1418
    1519class MediaMonitor;
     
    102106
    103107    static const QString         kUDEV_FIFO;
    104108    static MediaMonitor         *c_monitor;
     109#ifdef Q_OS_MACX
     110    friend void diskAppearedCallback(DADiskRef disk, void *context);
     111    friend void diskDisappearedCallback(DADiskRef disk, void *context);
     112#endif // Q_OS_MACX
    105113};
    106114
    107115#endif