Author: veithm
Date: Wed Aug 28 15:07:57 2013
New Revision: 1518248

URL: http://svn.apache.org/r1518248
Log:
ETCH-273 Removing hardcoded HelloWorld string from compiler

This patch removes the hardcoded HelloWorld example call from
the velocity template

Change-Id: I14672b6c474f5da225a06a6f599daf6610270997

Modified:
    
etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm

Modified: 
etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm
URL: 
http://svn.apache.org/viewvc/etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm?rev=1518248&r1=1518247&r2=1518248&view=diff
==============================================================================
--- 
etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm
 (original)
+++ 
etch/trunk/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm
 Wed Aug 28 15:07:57 2013
@@ -145,16 +145,14 @@ capu::int32_t main(int argc, const char*
     //TODO Handle error
   }
 
- 
   // Connect to the service
   status = remote->transportControl(new 
EtchString(EtchTransportData::START_AND_WAIT_UP()), new EtchInt32(4000));
   if (status != ETCH_OK) {
     //TODO Handle error
   }
-  
-  HelloWorld::userPtr myUser = new HelloWorld::user(new EtchInt32(1),new 
EtchString("World"));
-  remote->say_hello_server(myUser);
-  
+
+  //Add calls to remote here
+
   // Disconnect from the service
   status = remote->transportControl(new 
EtchString(EtchTransportData::STOP_AND_WAIT_DOWN()), new EtchInt32(4000));
   if (status != ETCH_OK) {


Reply via email to