From be3e09a06fc096114cf8b7c5f7ceba531458e5b8 Mon Sep 17 00:00:00 2001 From: a7458969 <290198252@qq.com> Date: Thu, 21 May 2020 01:04:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=81=8C=E8=B4=A3=E9=93=BE?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- general/src/pattern/adapter.hpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/general/src/pattern/adapter.hpp b/general/src/pattern/adapter.hpp index bec839a..f55f8c6 100644 --- a/general/src/pattern/adapter.hpp +++ b/general/src/pattern/adapter.hpp @@ -27,5 +27,14 @@ protected: T *mBridgeData; }; - +template +class ResponsabilityChan{ +public: + int AddNext(ResponsabilityChan *p){ + + } +private: + ResponsabilityChan *mHead; + ResponsabilityChan *mTail; +}; #endif //GENERAL_ADAPTER_H