added basic channel and fixed moving splits

This commit is contained in:
fourtf
2017-01-01 13:07:36 +01:00
parent 8b8b9706b3
commit a290f88685
8 changed files with 129 additions and 42 deletions
+41
View File
@@ -0,0 +1,41 @@
#ifndef CHANNEL_H
#define CHANNEL_H
#include "QString"
class Channel
{
public:
static const Channel whispers;
static const Channel mentions;
public:
QString getSubLink();
QString getChannelLink();
QString getPopoutPlayerLink();
bool getIsLive();
int getStreamViewerCount();
QString getStreamStatus();
QString getStreamGame();
private:
Channel(QString channel);
int referenceCount = 0;
QString name;
int roomID;
QString subLink = "";
QString channelLink = "";
QString popoutPlayerLink = "";
bool isLive = false;
int streamViewerCount = 0;
QString streamStatus = "";
QString streamGame = "";
};
#endif // CHANNEL_H