OSDN Git Service

Small improvement to UpdateDialog.
[lamexp/LameXP.git] / src / Dialog_Update.h
index 1876afd..f7ce6cc 100644 (file)
@@ -1,12 +1,12 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2016 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2020 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
+// it under the terms of the GNU GENERAL PUBLIC LICENSE as published by
 // the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version, but always including the *additional*
-// restrictions defined in the "License.txt" file.
+// (at your option) any later version; always including the non-optional
+// LAMEXP GNU GENERAL PUBLIC LICENSE ADDENDUM. See "License.txt" file!
 //
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -51,6 +51,7 @@ public:
 
        bool getSuccess(void) { return m_success; }
        bool updateReadyToInstall(void) { return m_updateReadyToInstall; }
+       bool haveNewVersion(void) { return m_haveNewVersion; }
 
 private slots:
        void updateInit(void);
@@ -77,8 +78,7 @@ private:
        Ui::UpdateDialog *const ui; //for Qt UIC
        const SettingsModel *const m_settings;
 
-       const QString m_binaryWGet;
-       const QString m_binaryNC;
+       const QString m_binaryCurl;
        const QString m_binaryGnuPG;
        const QString m_binaryKeys;
        const QString m_binaryUpdater;
@@ -91,6 +91,7 @@ private:
        unsigned long m_updaterProcess;
 
        bool m_success;
+       bool m_haveNewVersion;
        bool m_updateReadyToInstall;
        bool m_firstShow;