summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/InputHandler.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-10-31 19:53:55 +0000
committerAlan Conway <aconway@apache.org>2006-10-31 19:53:55 +0000
commit9094d2b10ecadd66fa3b22169183e7573cc79629 (patch)
treebf3915f72be2a5f09932b800d2fa4309fb3ad64e /cpp/src/qpid/framing/InputHandler.h
parent0487ea40bc6568765cdec75a36273eeb26fae854 (diff)
downloadqpid-python-9094d2b10ecadd66fa3b22169183e7573cc79629.tar.gz
IO refactor phase 1. Reduced dependencies, removed redundant classes.
Renamed pricipal APR classes in preparation for move to apr namespace. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469625 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/InputHandler.h')
-rw-r--r--cpp/src/qpid/framing/InputHandler.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/cpp/src/qpid/framing/InputHandler.h b/cpp/src/qpid/framing/InputHandler.h
index e2ad545993..8f56d176b8 100644
--- a/cpp/src/qpid/framing/InputHandler.h
+++ b/cpp/src/qpid/framing/InputHandler.h
@@ -1,3 +1,5 @@
+#ifndef _InputHandler_
+#define _InputHandler_
/*
*
* Copyright (c) 2006 The Apache Software Foundation
@@ -15,24 +17,19 @@
* limitations under the License.
*
*/
-#include <string>
-
-#ifndef _InputHandler_
-#define _InputHandler_
+#include <qpid/SharedObject.h>
#include "qpid/framing/AMQFrame.h"
namespace qpid {
namespace framing {
- class InputHandler{
- public:
- virtual ~InputHandler();
- virtual void received(AMQFrame* frame) = 0;
- };
+class InputHandler : public qpid::SharedObject<InputHandler> {
+ public:
+ virtual void received(AMQFrame* frame) = 0;
+};
-}
-}
+}}
#endif