ETCH-273 Removing hardcoded HelloWorld string from compiler
This patch removes the hardcoded HelloWorld example call from
the velocity template
Change-Id: I14672b6c474f5da225a06a6f599daf6610270997
git-svn-id: https://svn.apache.org/repos/asf/etch/trunk@1518248 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm b/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm
index e0d1fc5..9ed6292 100644
--- a/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm
+++ b/binding-cpp/compiler/src/main/resources/org/apache/etch/bindings/cpp/compiler/main_cpp.vm
@@ -145,16 +145,14 @@
//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) {