starting work on websocket chat reader
This commit is contained in:
25
messagetype.hpp
Normal file
25
messagetype.hpp
Normal 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
|
||||
Reference in New Issue
Block a user