NOISSUE make shared logic library ... shared
This commit is contained in:
@ -4,13 +4,15 @@
|
||||
#include <QMultiMap>
|
||||
#include <memory>
|
||||
|
||||
#include "multimc_logic_export.h"
|
||||
|
||||
struct User
|
||||
{
|
||||
QString id;
|
||||
QMultiMap<QString, QString> properties;
|
||||
};
|
||||
|
||||
struct AuthSession
|
||||
struct MULTIMC_LOGIC_EXPORT AuthSession
|
||||
{
|
||||
bool MakeOffline(QString offline_playername);
|
||||
|
||||
|
@ -25,6 +25,9 @@
|
||||
#include <memory>
|
||||
#include "AuthSession.h"
|
||||
|
||||
#include "multimc_logic_export.h"
|
||||
MULTIMC_LOGIC_EXPORT
|
||||
|
||||
class Task;
|
||||
class YggdrasilTask;
|
||||
class MojangAccount;
|
||||
@ -58,7 +61,7 @@ enum AccountStatus
|
||||
* Said information may include things such as that account's username, client token, and access
|
||||
* token if the user chose to stay logged in.
|
||||
*/
|
||||
class MojangAccount : public QObject
|
||||
class MULTIMC_LOGIC_EXPORT MojangAccount : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public: /* construction */
|
||||
|
@ -22,6 +22,8 @@
|
||||
|
||||
#include "auth/MojangAccount.h"
|
||||
|
||||
#include "multimc_logic_export.h"
|
||||
|
||||
/*!
|
||||
* \brief List of available Mojang accounts.
|
||||
* This should be loaded in the background by MultiMC on startup.
|
||||
@ -31,7 +33,7 @@
|
||||
* all have a default implementation, but they can be overridden by subclasses to
|
||||
* change the behavior of the list.
|
||||
*/
|
||||
class MojangAccountList : public QAbstractListModel
|
||||
class MULTIMC_LOGIC_EXPORT MojangAccountList : public QAbstractListModel
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
@ -126,7 +128,7 @@ public:
|
||||
* If the username given is an empty string, sets the active account to nothing.
|
||||
*/
|
||||
virtual void setActiveAccount(const QString &username);
|
||||
|
||||
|
||||
/*!
|
||||
* Returns true if any of the account is at least Validated
|
||||
*/
|
||||
|
Reference in New Issue
Block a user