ViewVC Help
View File
|
Revision Log
|
Show Annotations
|
Download File
/
cvs
/
cvsroot
/
cf.schmorp.de
/
dclient
/
src
/
backend
/
communicator
/
command_parser
/
drawinfo.h
Revision:
1.3
Committed:
Mon Oct 25 12:06:57 2010 UTC
(15 years, 11 months ago) by
sf-pippijn
Content type:
text/plain
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.2
:
+1 -0 lines
Log Message:
be more strict about the protocol
File Contents
#
Content
1
void
2
command_parser::on_drawinfo (std::istream &args)
3
{
4
int level;
5
std::string msg;
6
7
args >> level;
8
while (args.peek () == ' ')
9
args.ignore ();
10
std::getline (args, msg);
11
PARSE_END;
12
13
emit drawinfo (level, msg);
14
}