summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2006-12-18 15:37:14 +0000
committerKim van der Riet <kpvdr@apache.org>2006-12-18 15:37:14 +0000
commit1423e51d2918007f5b99fa86e04fc91a0147dfdf (patch)
tree8a03cc27c5e5bb88610a067d0fc6eac35633813b /cpp
parent1d38989c35a211ace6f379dc83cbdd6a36295d53 (diff)
downloadqpid-python-1423e51d2918007f5b99fa86e04fc91a0147dfdf.tar.gz
Added additional files AMQP_HighestVersion.h/.cpp to identify the highest available version for client use.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488304 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/lib/common/Makefile.am2
-rw-r--r--cpp/lib/common/framing/AMQP_HighestVersion.h45
2 files changed, 47 insertions, 0 deletions
diff --git a/cpp/lib/common/Makefile.am b/cpp/lib/common/Makefile.am
index b9f83f1f71..e1f7503282 100644
--- a/cpp/lib/common/Makefile.am
+++ b/cpp/lib/common/Makefile.am
@@ -72,6 +72,7 @@ libqpidcommon_la_SOURCES = \
$(framing)/ProtocolVersionException.cpp \
$(framing)/Value.cpp \
$(gen)/AMQP_ClientProxy.cpp \
+ $(gen)/AMQP_HighestVersion.cpp \
$(gen)/AMQP_MethodVersionMap.cpp \
$(gen)/AMQP_ServerProxy.cpp \
Exception.cpp \
@@ -104,6 +105,7 @@ nobase_pkginclude_HEADERS = \
$(framing)/Value.h \
$(framing)/amqp_framing.h \
$(framing)/amqp_types.h \
+ $(framing)/AMQP_HighestVersion.h \
Exception.h \
ExceptionHolder.h \
QpidError.h \
diff --git a/cpp/lib/common/framing/AMQP_HighestVersion.h b/cpp/lib/common/framing/AMQP_HighestVersion.h
new file mode 100644
index 0000000000..aecf92ca22
--- /dev/null
+++ b/cpp/lib/common/framing/AMQP_HighestVersion.h
@@ -0,0 +1,45 @@
+/*
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ */
+
+/*
+ * This file is auto-generated by Qpid Gentools v.0.1 - do not modify.
+ * Supported AMQP versions:
+ * 0-9
+ * 0-10
+ * 8-0
+ */
+
+
+#ifndef _AMQP_HighestVersion_
+#define _AMQP_HighestVersion_
+
+#include <ProtocolVersion.h>
+
+
+namespace qpid {
+namespace framing {
+
+static ProtocolVersion highestProtocolVersion;
+
+} /* namespace framing */
+} /* namespace qpid */
+
+#endif