ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/dclient/src/backend/communicator/command_parser/version.h
Revision: 1.1
Committed: Sun Oct 17 08:15:05 2010 UTC (15 years, 11 months ago) by sf-pippijn
Content type: text/plain
Branch: MAIN
Log Message:
initial import

File Contents

# User Rev Content
1 sf-pippijn 1.1 #include <json/json.h>
2    
3     void
4     command_parser::on_version (std::istream &args)
5     {
6     Json::Reader reader;
7     Json::Value server_version;
8     reader.parse (args, server_version, false);
9    
10     emit version (server_version);
11     }