diff options
Diffstat (limited to 'cpp/src/qpid/framing/OutputHandler.h')
-rw-r--r-- | cpp/src/qpid/framing/OutputHandler.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/cpp/src/qpid/framing/OutputHandler.h b/cpp/src/qpid/framing/OutputHandler.h index ed38a321e5..16fb7e8afb 100644 --- a/cpp/src/qpid/framing/OutputHandler.h +++ b/cpp/src/qpid/framing/OutputHandler.h @@ -1,3 +1,6 @@ +#ifndef _OutputHandler_ +#define _OutputHandler_ + /* * * Copyright (c) 2006 The Apache Software Foundation @@ -15,24 +18,18 @@ * limitations under the License. * */ -#include <string> - -#ifndef _OutputHandler_ -#define _OutputHandler_ - +#include <qpid/SharedObject.h> #include "qpid/framing/AMQFrame.h" namespace qpid { namespace framing { - class OutputHandler{ - public: - virtual ~OutputHandler(); - virtual void send(AMQFrame* frame) = 0; - }; +class OutputHandler : public qpid::SharedObject<OutputHandler> { + public: + virtual void send(AMQFrame* frame) = 0; +}; -} -} +}} #endif |