mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-11-23 18:52:19 +00:00
49 lines
1.4 KiB
C
49 lines
1.4 KiB
C
|
#ifndef OIRC_TH_H
|
||
|
#define OIRC_TH_H
|
||
|
|
||
|
#pragma once
|
||
|
#include "nesca_3.h"
|
||
|
#include "resource.h"
|
||
|
#include "irc_nmblinker.h"
|
||
|
#include "IRCPinger_Th.h"
|
||
|
|
||
|
class oIRC_Th : public QThread
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
void doEmitUnhidePopup(QString, QString);
|
||
|
void doEmitChangeIRCData(bool, bool, int, QString, QString);
|
||
|
void doEmitChangeRedIRCData(QString);
|
||
|
void doEmitChangeGreenIRCData(QString);
|
||
|
void doEmitChangeYellowIRCData(QString);
|
||
|
void doEmitChangeRawIRCDataInc(QString);
|
||
|
void doEmitChangeRawIRCDataOut(QString);
|
||
|
void doEmitSetNick(QString);
|
||
|
void doEmitAddNick(QString);
|
||
|
void doEmitClearNickList();
|
||
|
void doEmitIRCOfflined();
|
||
|
void doEmitionPlayDckingSound();
|
||
|
void doEmitGetTopic(QString str);
|
||
|
|
||
|
public: signals: void sUnhidePopup(QString, QString);
|
||
|
public: signals: void changeIRCData(bool, bool, int, QString, QString);
|
||
|
public: signals: void changeRedIRCData(QString);
|
||
|
public: signals: void changeGreenIRCData(QString);
|
||
|
public: signals: void changeYellowIRCData(QString);
|
||
|
public: signals: void changeRawIRCDataInc(QString);
|
||
|
public: signals: void changeRawIRCDataOut(QString);
|
||
|
public: signals: void setNick(QString);
|
||
|
public: signals: void AddNick(QString);
|
||
|
public: signals: void ClearNickList();
|
||
|
public: signals: void IRCOfflined();
|
||
|
public: signals: void notifyPlay();
|
||
|
public: signals: void getTopic(QString);
|
||
|
|
||
|
protected:
|
||
|
void run();
|
||
|
};
|
||
|
|
||
|
extern oIRC_Th *ircTh;
|
||
|
#endif // OIRC_TH_H
|