4 #include <QApplication>
11 Room(
const QMap<QString, QPoint> &cPos,
const QSize &grid,
const QSize &client,
const QString &image,
const QString &tutor) :
28 #if defined(serverApp)
31 #define serverApp (static_cast<ServerApp*>(QCoreApplication::instance())) // NOLINT(cppcoreguidelines-pro-type-static-cast-downcast)
QStringList parseParameters()
const Room * getCurrentRoom() const
Room(const QMap< QString, QPoint > &cPos, const QSize &grid, const QSize &client, const QString &image, const QString &tutor)
QMap< QString, QPoint > clientPositions
const QByteArray & sessionNameArray() const
virtual QStringList arguments()
void setCurrentRoom(const QString &room)
ServerApp(int &argc, char **argv)
QByteArray _sessionNameArray
QMap< QString, Room * > _rooms
QSettings * getSettings()
const QMap< QString, Room * > & getRooms() const
const QString & sessionName() const