Client: delphi
Patch: Jens Geyer
Adding versioning to delphi library
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1197957 13f79535-47bb-0310-9956-
ffa450edef68
virtual std::string autogen_comment() {
return
std::string("(**\n") +
- " * Autogenerated by Thrift\n" +
+ " * Autogenerated by Thrift Compiler (" + THRIFT_VERSION + ")\n" +
" *\n" +
" * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n" +
" *)\n";
uses\r
SysUtils, Thrift.Protocol;\r
\r
+const\r
+ Version = '0.8.0-dev';\r
+ \r
type\r
IProcessor = interface\r
['{B1538A07-6CAC-4406-8A4C-AFED07C70A89}']\r
\r
begin\r
try\r
+ Writeln( 'Delphi TestClient '+Thrift.Version);\r
nParamCount := ParamCount;\r
SetLength( args, nParamCount);\r
for i := 1 to nParamCount do\r
\r
begin\r
try\r
+ Writeln( 'Delphi TestServer '+Thrift.Version);\r
nParamCount := ParamCount;\r
SetLength( args, nParamCount);\r
for i := 1 to nParamCount do\r