ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/dclient/src/backend/communicator/command_parser/delitem.h
Revision: 1.2
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.1: +1 -0 lines
Log Message:
be more strict about the protocol

File Contents

# User Rev Content
1 sf-pippijn 1.1 void
2     command_parser::on_delitem (std::istream &args)
3     {
4     std::vector<u32> items;
5     while (args.peek () != EOF)
6     {
7     items.push_back (read_u32 (args));
8     assert (args);
9     }
10 sf-pippijn 1.2 PARSE_END;
11 sf-pippijn 1.1
12     emit delitem (items);
13     }