From 1af3eab2b23c67795b188e5edaf83bf47a8879bd Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 22 Sep 2008 18:24:26 +0200 Subject: NetworkLogger implementiert --- src/Common/Request.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Common') diff --git a/src/Common/Request.h b/src/Common/Request.h index fa6b619..229b8b8 100644 --- a/src/Common/Request.h +++ b/src/Common/Request.h @@ -36,9 +36,10 @@ template class Request : public RequestBase { std::auto_ptr res; Exception exp; - protected: + public: typedef sigc::slot&> slot_type; + protected: Request(slot_type slot) : exp(Exception::NOT_FINISHED) { finished.connect(slot); finished.connect(sigc::hide(signalFinished().make_slot())); @@ -64,9 +65,10 @@ template<> class Request : public RequestBase { bool isFinished; Exception exp; - protected: + public: typedef sigc::slot&> slot_type; + protected: Request(slot_type slot) : isFinished(false), exp(Exception::NOT_FINISHED) { finished.connect(slot); finished.connect(sigc::hide(signalFinished().make_slot())); -- cgit v1.2.3