mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-24 12:32:42 +00:00
* Dehardcode account providers * Fix crash on creation * Add dynamic 'add account dialog' provider selector * Fix typo and add newlines * Rename loginType to provider * Rename MojangAccount to Account and MojangAccountList to AccountList * Fix json save error
30 lines
484 B
C++
30 lines
484 B
C++
#pragma once
|
|
|
|
#include <QDialog>
|
|
#include <minecraft/auth/Account.h>
|
|
|
|
namespace Ui
|
|
{
|
|
class SkinUploadDialog;
|
|
}
|
|
|
|
class SkinUploadDialog : public QDialog {
|
|
Q_OBJECT
|
|
public:
|
|
explicit SkinUploadDialog(AccountPtr acct, QWidget *parent = 0);
|
|
virtual ~SkinUploadDialog() {};
|
|
|
|
public slots:
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
|
|
|
void on_skinBrowseBtn_clicked();
|
|
|
|
protected:
|
|
AccountPtr m_acct;
|
|
|
|
private:
|
|
Ui::SkinUploadDialog *ui;
|
|
};
|