Ticket #2406: mythdvd.diff
File mythdvd.diff, 1.1 KB (added by , 18 years ago) |
---|
-
main.cpp
27 27 #include <mythtv/lcddevice.h> 28 28 #include <mythtv/libmythui/myththemedmenu.h> 29 29 30 #ifdef Q_WS_MACX 31 #include "MacOSXDVDPlayer.h" 32 #endif // Q_WS_MACX 33 30 34 #include "settings.h" 31 35 #include "dvdripbox.h" 32 36 #include "dbcheck.h" … … 124 128 QString filename = QString("dvd:/%1" ) 125 129 .arg(gContext->GetSetting("DVDDeviceLocation")); 126 130 command_string = "Internal"; 131 #ifdef Q_WS_MACX 132 MacOSXDVDPlayer::PlayDVD(filename); 133 #else 127 134 gContext->GetMainWindow()->HandleMedia(command_string, filename); 135 #endif // Q_WS_MACX 128 136 gContext->removeCurrentLocation(); 129 137 return; 130 138 } -
mythdvd.pro
23 23 24 24 macx { 25 25 QMAKE_LFLAGS += -flat_namespace -undefined suppress 26 SOURCES += MacOSXDVDPlayer.cpp 27 HEADERS += MacOSXDVDPlayer.h 28 LIBS += -framework DVDPlayback -framework DiskArbitration 26 29 }