X-Git-Url: http://developer.intra2net.com/git/?p=libt2n;a=blobdiff_plain;f=src%2Fclient.hxx;h=d4c2480342d1acefecd382d9fc3f6634893b9852;hp=c639bb1da30fb52e3688fa2851db4da8c3d9cf3a;hb=a64066eb0e456c92c4c06959616443e531d4b39d;hpb=0ea6d528901a0eeb0fce1c2a71ae69c277798142 diff --git a/src/client.hxx b/src/client.hxx index c639bb1..d4c2480 100644 --- a/src/client.hxx +++ b/src/client.hxx @@ -20,10 +20,7 @@ #define __LIBT2N_CLIENT #include -#include -#include - -#include +#include #include "connection.hxx" #include "types.hxx" @@ -39,24 +36,12 @@ class client_connection : public connection log_level_values log_level; std::ostream *logstream; - /// vector initialized for all callback-types, all elements in each list will be called - std::vector > > callbacks; - - protected: - void do_callbacks(callback_event_type event); - public: client_connection(); - virtual ~client_connection(); - - void close(); - void set_logging(std::ostream *_logstream, log_level_values _log_level); std::ostream* get_logstream(log_level_values level); - - void add_callback(callback_event_type event, const boost::function& func); }; }