blob: 81c667903e6e435d8927a6dc414cbb54ad0cc443 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef WRAP_CPP
#define WRAP_CPP
#include "wrap.h"
using namespace std;
conf* wrap::CONF;
html* wrap::HTML;
logd* wrap::LOGD;
modl* wrap::MODL;
#ifdef NCURSES
ncur* wrap::NCUR;
#endif
sock* wrap::SOCK;
stats* wrap::STAT;
timr* wrap::TIMR;
dynamic_wrap* wrap::WRAP;
void
wrap::system_message( string s_message )
{
#ifdef NCURSES
wrap::NCUR->print( s_message );
#endif
#ifdef SERVMSG
cout << s_message << endl;
#endif
wrap::LOGD->log_simple_line( s_message + "\n" );
}
#endif
|