Start attempting to actually do IRC
This commit is contained in:
parent
65d123ce2c
commit
a66071288a
5 changed files with 75 additions and 5 deletions
26
irc.h
Normal file
26
irc.h
Normal file
|
@ -0,0 +1,26 @@
|
|||
//
|
||||
// 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
|
Loading…
Add table
Add a link
Reference in a new issue