diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:41 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:41 +0200 |
| commit | 520f54d6219b7c625b4e07463ac393e6982ddab6 (patch) | |
| tree | 74b4483786b3842b1a0384fd33deb7483276bea1 /src/thrd/thrd.h | |
| parent | ae4e87df37ed8904de92c7cf2f3a11128cda2a21 (diff) | |
tagging ychat-0.7.1ychat-0.7.1
Diffstat (limited to 'src/thrd/thrd.h')
| -rwxr-xr-x | src/thrd/thrd.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/thrd/thrd.h b/src/thrd/thrd.h new file mode 100755 index 0000000..7cd63b7 --- /dev/null +++ b/src/thrd/thrd.h @@ -0,0 +1,28 @@ +// class thrd declaration. +#include "../incl.h" + +#ifndef THRD_H +#define THRD_H + +using namespace std; + +class thrd +{ +private: + int i_sock; + +public: + + // small inline methods: + int get_sock() + { + return i_sock; + } + + // public methods: + explicit thrd( int i_sock ); + ~thrd(); // destructor. + virtual void run(); +}; + +#endif |
