StelAudioMgr.cpp   StelAudioMgr.cpp 
skipping to change at line 21 skipping to change at line 21
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
*/ */
#include "StelAudioMgr.hpp" #include "StelAudioMgr.hpp"
#include <QDebug> #include <QDebug>
#include <QDir>
StelAudioMgr::StelAudioMgr() StelAudioMgr::StelAudioMgr()
{ {
} }
#ifdef HAVE_QT_PHONON #ifdef HAVE_QT_PHONON
StelAudioMgr::~StelAudioMgr() StelAudioMgr::~StelAudioMgr()
{ {
foreach(QString id, audioObjects.keys()) foreach(QString id, audioObjects.keys())
{ {
skipping to change at line 90 skipping to change at line 91
{ {
audioObjects[id]->stop(); audioObjects[id]->stop();
delete audioObjects[id]; delete audioObjects[id];
audioObjects.remove(id); audioObjects.remove(id);
} }
} }
#else // HAVE_QT_PHONON #else // HAVE_QT_PHONON
void StelAudioMgr::loadSound(const QString& filename, const QString& id) void StelAudioMgr::loadSound(const QString& filename, const QString& id)
{ {
qWarning() << "This build of Stellarium does not support sound - can not load audio" << filename << id; qWarning() << "This build of Stellarium does not support sound - can not load audio" << QDir::toNativeSeparators(filename) << id;
} }
StelAudioMgr::~StelAudioMgr() {;} StelAudioMgr::~StelAudioMgr() {;}
void StelAudioMgr::playSound(const QString&) {;} void StelAudioMgr::playSound(const QString&) {;}
void StelAudioMgr::pauseSound(const QString&) {;} void StelAudioMgr::pauseSound(const QString&) {;}
void StelAudioMgr::stopSound(const QString&) {;} void StelAudioMgr::stopSound(const QString&) {;}
void StelAudioMgr::dropSound(const QString&) {;} void StelAudioMgr::dropSound(const QString&) {;}
#endif // HAVE_QT_PHONON #endif // HAVE_QT_PHONON
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/