mirror of
https://github.com/MeexReay/minceraftOS.git
synced 2025-06-24 02:22:59 +03:00
20 lines
297 B
C++
20 lines
297 B
C++
#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;
|
|
};
|