/*************************************************************************** * Copyright (C) 2004 by Intra2net AG * * info@intra2net.com * * * ***************************************************************************/ #include // include library header #include "codegen_client.hxx" int main(int argc, char** argv) { libt2n::socket_client_connection sc("./socket"); cmd_group_default_client cc(sc); return ( ( cc.testfunc("hello") == "hello, testfunc() was here" ) && ( cc.testfunc_ref("hello") == "hello, testfunc() was here" ) && ( cc.t2(10) == 10 ) && ( cc.t3(10, 20, "hello", std::pair(10,20)) ) ) ? EXIT_SUCCESS : EXIT_FAILURE; }