summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2008-04-04 18:25:08 +0000
committerKim van der Riet <kpvdr@apache.org>2008-04-04 18:25:08 +0000
commitf7204bd30d2efb2a7290e6f231beb3122fdaba7b (patch)
treed9711e06133f4959b44a53bf02e66f6a9d3c8d38 /cpp
parenta2ea9d432dc5713dadd4c710a982cc466de3ea8b (diff)
downloadqpid-python-f7204bd30d2efb2a7290e6f231beb3122fdaba7b.tar.gz
Additional files for Ted Ross's checkin
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644812 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/managementgen/templates/Package.cpp32
-rw-r--r--cpp/managementgen/templates/Package.h41
2 files changed, 73 insertions, 0 deletions
diff --git a/cpp/managementgen/templates/Package.cpp b/cpp/managementgen/templates/Package.cpp
new file mode 100644
index 0000000000..0c5af8d71d
--- /dev/null
+++ b/cpp/managementgen/templates/Package.cpp
@@ -0,0 +1,32 @@
+/*MGEN:commentPrefix=//*/
+//
+// 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.
+//
+
+/*MGEN:Root.Disclaimer*/
+
+#include "qpid/management/Package/*MGEN:Schema.PackageNameCap*/.h"
+/*MGEN:Schema.ClassIncludes*/
+
+using namespace qpid::management;
+
+Package/*MGEN:Schema.PackageNameCap*/::Package/*MGEN:Schema.PackageNameCap*/ (ManagementAgent::shared_ptr agent)
+{
+/*MGEN:Schema.ClassRegisters*/
+}
+
diff --git a/cpp/managementgen/templates/Package.h b/cpp/managementgen/templates/Package.h
new file mode 100644
index 0000000000..214f811a1f
--- /dev/null
+++ b/cpp/managementgen/templates/Package.h
@@ -0,0 +1,41 @@
+/*MGEN:commentPrefix=//*/
+#ifndef _MANAGEMENT_PACKAGE_/*MGEN:Schema.PackageNameUpper*/_
+#define _MANAGEMENT_PACKAGE_/*MGEN:Schema.PackageNameUpper*/_
+
+//
+// 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.
+//
+
+/*MGEN:Root.Disclaimer*/
+
+#include "qpid/management/ManagementAgent.h"
+
+namespace qpid {
+namespace management {
+
+class Package/*MGEN:Schema.PackageNameCap*/
+{
+ public:
+ Package/*MGEN:Schema.PackageNameCap*/ (ManagementAgent::shared_ptr agent);
+ ~Package/*MGEN:Schema.PackageNameCap*/ () {}
+};
+
+}}
+
+
+#endif /*!_MANAGEMENT_PACKAGE_/*MGEN:Schema.PackageNameUpper*/_*/