summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys/OutputControl.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/sys/OutputControl.h')
-rw-r--r--cpp/src/qpid/sys/OutputControl.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/cpp/src/qpid/sys/OutputControl.h b/cpp/src/qpid/sys/OutputControl.h
index eae99beb0f..0d801e9d16 100644
--- a/cpp/src/qpid/sys/OutputControl.h
+++ b/cpp/src/qpid/sys/OutputControl.h
@@ -1,3 +1,6 @@
+#ifndef QPID_SYS_OUTPUT_CONTROL_H
+#define QPID_SYS_OUTPUT_CONTROL_H
+
/*
*
* Licensed to the Apache Software Foundation (ASF) under one
@@ -21,9 +24,6 @@
#include "qpid/sys/IntegerTypes.h"
-#ifndef _OutputControl_
-#define _OutputControl_
-
namespace qpid {
namespace sys {
@@ -33,11 +33,10 @@ namespace sys {
virtual ~OutputControl() {}
virtual void abort() = 0;
virtual void activateOutput() = 0;
- virtual void giveReadCredit(int32_t credit) = 0;
};
}
}
-#endif
+#endif /*!QPID_SYS_OUTPUT_CONTROL_H*/