NOISSUE Flatten gui and logic libraries into MultiMC
This commit is contained in:
parent
dd13368085
commit
20b9f2b42a
1113 changed files with 1228 additions and 1401 deletions
|
@ -1,24 +0,0 @@
|
|||
#include "ClaimAccount.h"
|
||||
#include <launch/LaunchTask.h>
|
||||
|
||||
ClaimAccount::ClaimAccount(LaunchTask* parent, AuthSessionPtr session): LaunchStep(parent)
|
||||
{
|
||||
if(session->status == AuthSession::Status::PlayableOnline)
|
||||
{
|
||||
m_account = session->m_accountPtr;
|
||||
}
|
||||
}
|
||||
|
||||
void ClaimAccount::executeTask()
|
||||
{
|
||||
if(m_account)
|
||||
{
|
||||
lock.reset(new UseLock(m_account));
|
||||
emitSucceeded();
|
||||
}
|
||||
}
|
||||
|
||||
void ClaimAccount::finalize()
|
||||
{
|
||||
lock.reset();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue