diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-12 15:10:41 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-12 15:47:36 -0400 |
| commit | ebbc900755b09862be95d29d2a02b8abd1792a3a (patch) | |
| tree | 0b49cd9669e62cf04c6489d341a53eb0679d120d /src/nxmaccessmanager.h | |
| parent | 853c95b921f4fc3beb8daf71d79b44aa1ab06c92 (diff) | |
added a few helper classes for user accounts and stats
moved the api label to the status bar
refactored a bunch of copy/pasted code in NexusInterface to use shouldThrottle() and throttledWarning()
Diffstat (limited to 'src/nxmaccessmanager.h')
| -rw-r--r-- | src/nxmaccessmanager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nxmaccessmanager.h b/src/nxmaccessmanager.h index e3608f8d..1d23faf9 100644 --- a/src/nxmaccessmanager.h +++ b/src/nxmaccessmanager.h @@ -20,7 +20,6 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #ifndef NXMACCESSMANAGER_H #define NXMACCESSMANAGER_H - #include <QNetworkAccessManager> #include <QTimer> #include <QNetworkReply> @@ -29,6 +28,8 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. namespace MOBase { class IPluginGame; } +class APIUserAccount; + /** * @brief access manager extended to handle nxm links **/ @@ -78,7 +79,7 @@ signals: void validateFailed(const QString &message); - void credentialsReceived(const QString &userName, int userId, bool premium, std::tuple<int, int, int, int> limits); + void credentialsReceived(const APIUserAccount& user); private slots: |
