summaryrefslogtreecommitdiff
path: root/qpid/gentools/templ.cpp/AMQP_HighestVersion.cpp.tmpl
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
commite2f8da33ed07775b8089873eeba68000cf229b81 (patch)
treef71ca86b9c0f6da907743b1d2f4a914ff2dedfb4 /qpid/gentools/templ.cpp/AMQP_HighestVersion.cpp.tmpl
parent1834344d41e4de814e900fee32ec61d4a078f261 (diff)
downloadqpid-python-e2f8da33ed07775b8089873eeba68000cf229b81.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@488304 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/gentools/templ.cpp/AMQP_HighestVersion.cpp.tmpl')
-rw-r--r--qpid/gentools/templ.cpp/AMQP_HighestVersion.cpp.tmpl31
1 files changed, 31 insertions, 0 deletions
diff --git a/qpid/gentools/templ.cpp/AMQP_HighestVersion.cpp.tmpl b/qpid/gentools/templ.cpp/AMQP_HighestVersion.cpp.tmpl
new file mode 100644
index 0000000000..e82a8d697d
--- /dev/null
+++ b/qpid/gentools/templ.cpp/AMQP_HighestVersion.cpp.tmpl
@@ -0,0 +1,31 @@
+&{AMQP_HighestVersion.cpp}
+/*
+ *
+ * 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 ${GENERATOR} - do not modify.
+ * Supported AMQP versions:
+%{VLIST} * ${major}-${minor}
+ */
+
+#include <AMQP_HighestVersion.h>
+
+qpid::framing::ProtocolVersion highestProtocolVersion(${hv_latest_major}, ${hv_latest_minor});