mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-10-31 10:00:46 +03:00
25 lines
440 B
C
25 lines
440 B
C
|
#pragma once
|
||
|
|
||
|
#include <QObject>
|
||
|
#include <QString>
|
||
|
|
||
|
#include "CacheStructs.h"
|
||
|
|
||
|
class RoomSettings : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
Q_PROPERTY(QString roomName READ roomName CONSTANT)
|
||
|
|
||
|
public:
|
||
|
RoomSettings(QString roomid, QObject *parent = nullptr);
|
||
|
|
||
|
QString roomName() const;
|
||
|
|
||
|
private:
|
||
|
void retrieveRoomInfo();
|
||
|
|
||
|
private:
|
||
|
QString roomid_;
|
||
|
bool usesEncryption_ = false;
|
||
|
RoomInfo info_;
|
||
|
};
|