summaryrefslogtreecommitdiff
path: root/qpid/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
commit8b4af258451be0ebe40bb0fa10523818ecdbe576 (patch)
treef16c3dd66368c36b303ebfa85da8c4bdc95489e5 /qpid/cpp
parentf765080d69339ff978a20ff697173c362a333f41 (diff)
downloadqpid-python-8b4af258451be0ebe40bb0fa10523818ecdbe576.tar.gz
Additional files for Ted Ross's checkin
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@644812 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/managementgen/templates/Package.cpp32
-rw-r--r--qpid/cpp/managementgen/templates/Package.h41
2 files changed, 73 insertions, 0 deletions
diff --git a/qpid/cpp/managementgen/templates/Package.cpp b/qpid/cpp/managementgen/templates/Package.cpp
new file mode 100644
index 0000000000..0c5af8d71d
--- /dev/null
+++ b/qpid/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/qpid/cpp/managementgen/templates/Package.h b/qpid/cpp/managementgen/templates/Package.h
new file mode 100644
index 0000000000..214f811a1f
--- /dev/null
+++ b/qpid/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*/_*/