From ebbc900755b09862be95d29d2a02b8abd1792a3a Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Wed, 12 Jun 2019 15:10:41 -0400
Subject: 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()
---
src/nxmaccessmanager.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
(limited to 'src/nxmaccessmanager.h')
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 .
#ifndef NXMACCESSMANAGER_H
#define NXMACCESSMANAGER_H
-
#include
#include
#include
@@ -29,6 +28,8 @@ along with Mod Organizer. If not, see .
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 limits);
+ void credentialsReceived(const APIUserAccount& user);
private slots:
--
cgit v1.3.1