X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fclient_wrapper.cpp;h=af60da9a71a1e4859e3f7898afd0cbf1df692708;hp=5115d20137674d4d0f234b3dae6a86b3b4a23f3e;hb=ffbbf9abeb195a4017c1ede383cc9ab906aa4a0c;hpb=a64066eb0e456c92c4c06959616443e531d4b39d diff --git a/src/client_wrapper.cpp b/src/client_wrapper.cpp index 5115d20..af60da9 100644 --- a/src/client_wrapper.cpp +++ b/src/client_wrapper.cpp @@ -17,55 +17,11 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -#include -#include - -#include - -#include -#include -#include - -#include "../codegen/codegen-stubhead.hxx" - - #include -#include - namespace libt2n { -class testme : public command_client -{ - public: - - testme(client_connection &x, long long a, long long b) - : command_client(x,100000,10000) - { } - - void helloworld(const std::string& text) - { - std::cout << "Hello world, " << text << std::endl; - } -}; - const char* T2nSingletonWrapperMessages::NotInitializedMessage = "T2nSingletonWrapper used before setting initializing connection"; -typedef T2nSingletonWrapper wraptype; - -template<> -std::auto_ptr wraptype::SingletonObject = std::auto_ptr(); - -template<> -std::auto_ptr wraptype::WrappedConnection = std::auto_ptr(); - -void test(void) -{ - - - t2n_exec(&testme::helloworld)("gurke"); - -} - }