OSDN Git Service

Happy new year 2015 !!!
[mutilities/MUtilities.git] / include / MUtils / UpdateChecker.h
index 3916846..c9915a6 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // MuldeR's Utilities for Qt
-// Copyright (C) 2004-2014 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2015 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 
 #pragma once
 
+//MUtils
+#include <MUtils/Global.h>
+
+//Qt
 #include <QThread>
 #include <QDate>
 
@@ -28,7 +32,7 @@
 
 namespace MUtils
 {
-       class UpdateCheckerInfo
+       class MUTILS_API UpdateCheckerInfo
        {
                friend class UpdateChecker;
 
@@ -54,7 +58,7 @@ namespace MUtils
 
        // ----------------------------------------------------------------
 
-       class UpdateChecker : public QThread
+       class MUTILS_API UpdateChecker : public QThread
        {
                Q_OBJECT
 
@@ -73,7 +77,7 @@ namespace MUtils
                }
                update_status_t;
 
-               UpdateChecker(const QString &binWGet, const QString &binGnuPG, const QString &binKeys, const bool betaUpdates, const bool testMode = false);
+               UpdateChecker(const QString &binWGet, const QString &binGnuPG, const QString &binKeys, const QString &applicationId, const quint32 &installedBuildNo, const bool betaUpdates, const bool testMode = false);
                ~UpdateChecker(void);
 
                const int getUpdateStatus(void) const { return m_status; }
@@ -99,6 +103,9 @@ namespace MUtils
                const bool m_betaUpdates;
                const bool m_testMode;
 
+               const QString m_applicationId;
+               const quint32 m_installedBuildNo;
+
                const QString m_binaryWGet;
                const QString m_binaryGnuPG;
                const QString m_binaryKeys;