From 108c167767c09d03e6142097fe8cd00b56971f8b Mon Sep 17 00:00:00 2001 From: lordmulder Date: Fri, 18 Mar 2011 01:12:17 +0100 Subject: [PATCH] Added an option to shutdown the computer as soon as all files are completed. --- LameXP.rc | 1 + LameXP.vcproj | 2 +- doc/Changelog.html | 1 + doc/FAQ.html | 3 +- etc/Translation/Blank.ts | 12 +++++++ etc/Translation/LameXP_DE.ts | 12 +++++++ etc/Translation/LameXP_ES.ts | 12 +++++++ etc/Translation/LameXP_FR.ts | 12 +++++++ etc/Translation/LameXP_IT.ts | 12 +++++++ etc/Translation/LameXP_RU.ts | 12 +++++++ etc/Translation/LameXP_UK.ts | 12 +++++++ gui/ProcessingDialog.ui | 21 ++++++++++++ res/Icons.qrc | 1 + res/localization/LameXP_DE.qm | Bin 53658 -> 54206 bytes res/sounds/shutdown.wav | Bin 0 -> 5530 bytes src/Config.h | 4 +-- src/Dialog_Processing.cpp | 61 +++++++++++++++++++++++++++++++++- src/Dialog_Processing.h | 4 +++ src/Global.cpp | 36 ++++++++++++++++++++ src/Global.h | 1 + src/Main.cpp | 13 +++++++- src/Resource.h | 1 + 22 files changed, 226 insertions(+), 7 deletions(-) create mode 100644 res/sounds/shutdown.wav diff --git a/LameXP.rc b/LameXP.rc index 9adcef2e..2b6612dd 100644 --- a/LameXP.rc +++ b/LameXP.rc @@ -111,6 +111,7 @@ IDR_WAVE_ERROR WAVE "res\\sounds\\error.wav" IDR_WAVE_ABORTED WAVE "res\\sounds\\aborted.wav" IDR_WAVE_WHAMMY WAVE "res\\sounds\\whammy.wav" IDR_WAVE_WOOHOO WAVE "res\\sounds\\woohoo.wav" +IDR_WAVE_SHUTDOWN WAVE "res\\sounds\\shutdown.wav" ///////////////////////////////////////////////////////////////////////////// // diff --git a/LameXP.vcproj b/LameXP.vcproj index ef0c66f8..7fdf474d 100644 --- a/LameXP.vcproj +++ b/LameXP.vcproj @@ -157,6 +157,7 @@ AdditionalOptions=""/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'"" AdditionalDependencies="qtmain.lib QtCore4.lib QtGui4.lib Winmm.lib Shlwapi.lib" ShowProgress="2" + Version="" LinkIncremental="1" AdditionalLibraryDirectories=""$(QTDIR)\lib";"$(QTDIR)\plugins\imageformats"" GenerateDebugInformation="false" @@ -254,7 +255,6 @@ AdditionalOptions=""/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'"" AdditionalDependencies="qtmain.lib QtCore.lib QtGui.lib QtSvg.lib qsvg.lib qico.lib Winmm.lib imm32.lib ws2_32.lib Shlwapi.lib" ShowProgress="2" - Version="" LinkIncremental="1" AdditionalLibraryDirectories=""$(SolutionDir)\etc\Prerequisites\qt4_static\lib";"$(SolutionDir)\etc\Prerequisites\qt4_static\plugins\imageformats"" IgnoreDefaultLibraryNames="" diff --git a/doc/Changelog.html b/doc/Changelog.html index 0d3f6f37..81b1e4e6 100644 --- a/doc/Changelog.html +++ b/doc/Changelog.html @@ -10,6 +10,7 @@ Changes between v4.00 and v4.01: