mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-04 06:26:46 +00:00
UltimMC: Add our changes
This commit is contained in:
19
launcher/AuthServer.h
Normal file
19
launcher/AuthServer.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <QTcpServer>
|
||||
#include "settings/SettingsObject.h"
|
||||
|
||||
class AuthServer: public QObject
|
||||
{
|
||||
public:
|
||||
explicit AuthServer(QObject *parent = 0);
|
||||
|
||||
quint16 port();
|
||||
|
||||
private:
|
||||
void newConnection();
|
||||
|
||||
private:
|
||||
std::shared_ptr<QTcpServer> m_tcpServer;
|
||||
};
|
||||
Reference in New Issue
Block a user