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