starting work on websocket chat reader

This commit is contained in:
Ikatono
2024-05-27 13:53:31 -05:00
parent 230f382015
commit 5451a1151c
13 changed files with 620 additions and 6 deletions

25
messagetype.hpp Normal file
View File

@@ -0,0 +1,25 @@
#ifndef MESSAGETYPE_HPP
#define MESSAGETYPE_HPP
#include <QObject>
class MessageType : public QObject
{
Q_GADGET
public:
explicit MessageType(QObject *parent = nullptr);
MessageType(MessageType& other);
enum MsgType
{
UNKNOWN,
PRIVMSG,
};
Q_ENUM(MsgType)
MessageType(MsgType type);
void setType(MsgType type);
MsgType type() const;
signals:
};
#endif // MESSAGETYPE_HPP