27 lines
326 B
C
27 lines
326 B
C
|
//
|
||
|
// Created by onekopaka on 12/8/18.
|
||
|
//
|
||
|
|
||
|
#ifndef OKSIRC_IRC_H
|
||
|
#define OKSIRC_IRC_H
|
||
|
#include <ctime>
|
||
|
#include <nspr.h>
|
||
|
#include "ui.h"
|
||
|
|
||
|
|
||
|
class irc {
|
||
|
public:
|
||
|
irc(PRFileDesc*, char*, ui*);
|
||
|
void run(void);
|
||
|
|
||
|
private:
|
||
|
char* netName;
|
||
|
time_t lastPing;
|
||
|
PRFileDesc* fd;
|
||
|
ui* uiInst;
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //OKSIRC_IRC_H
|