OSDN Git Service

More code refactoring and clean-up.
[lamexp/LameXP.git] / src / Decoder_MP3.cpp
index 28c688a..9c31aaa 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2013 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2014 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 
 #include "Decoder_MP3.h"
 
+//Internal
 #include "Global.h"
 
+//MUtils
+#include <MUtils/Exception.h>
+
+//Qt
 #include <QDir>
 #include <QProcess>
 #include <QRegExp>
 
 MP3Decoder::MP3Decoder(void)
 :
-       m_binary(lamexp_lookup_tool("mpg123.exe"))
+       m_binary(lamexp_tool_lookup("mpg123.exe"))
 {
        if(m_binary.isEmpty())
        {
-               THROW("Error initializing MPG123 decoder. Tool 'mpg123.exe' is not registred!");
+               MUTILS_THROW("Error initializing MPG123 decoder. Tool 'mpg123.exe' is not registred!");
        }
 }