oksirc/irc.h

28 lines
356 B
C
Raw Normal View History

2018-12-11 03:15:54 -08:00
//
// Created by onekopaka on 12/8/18.
//
#ifndef OKSIRC_IRC_H
#define OKSIRC_IRC_H
#include <ctime>
2018-12-11 03:40:00 -08:00
#include <string>
2018-12-11 03:15:54 -08:00
#include <nspr.h>
#include "ui.h"
class irc {
public:
2018-12-11 03:40:00 -08:00
irc(PRFileDesc*, std::string, ui*);
2018-12-11 03:15:54 -08:00
void run(void);
private:
2018-12-11 03:40:00 -08:00
std::string netName;
2018-12-11 03:15:54 -08:00
time_t lastPing;
PRFileDesc* fd;
ui* uiInst;
};
#endif //OKSIRC_IRC_H