summaryrefslogtreecommitdiff
path: root/cpp/examples/messaging
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-10-27 09:44:57 +0000
committerGordon Sim <gsim@apache.org>2010-10-27 09:44:57 +0000
commitd250befa16ca6b94ef483e1facc480ba131ac1d2 (patch)
tree25981d3d5aea911215502bc61752cd066c544691 /cpp/examples/messaging
parent5bc4f8206bcf02d384be9323c3e35e3243a98296 (diff)
downloadqpid-python-d250befa16ca6b94ef483e1facc480ba131ac1d2.tar.gz
Added some missing licenses; added FedOps.h to distribution list
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027879 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples/messaging')
-rw-r--r--cpp/examples/messaging/extra_dist/Makefile18
-rw-r--r--cpp/examples/messaging/hello_world.cpp21
-rw-r--r--cpp/examples/messaging/hello_xml.cpp21
3 files changed, 60 insertions, 0 deletions
diff --git a/cpp/examples/messaging/extra_dist/Makefile b/cpp/examples/messaging/extra_dist/Makefile
index 9b8d07ec80..8dd7f658f7 100644
--- a/cpp/examples/messaging/extra_dist/Makefile
+++ b/cpp/examples/messaging/extra_dist/Makefile
@@ -1,3 +1,21 @@
+#
+# 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.
+#
CXX=g++
CXXFLAGS=-g -O2
LDFLAGS=-lqpidmessaging
diff --git a/cpp/examples/messaging/hello_world.cpp b/cpp/examples/messaging/hello_world.cpp
index 8aef57d5d0..86342b3c47 100644
--- a/cpp/examples/messaging/hello_world.cpp
+++ b/cpp/examples/messaging/hello_world.cpp
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+ */
+
#include <qpid/messaging/Connection.h>
#include <qpid/messaging/Message.h>
#include <qpid/messaging/Receiver.h>
diff --git a/cpp/examples/messaging/hello_xml.cpp b/cpp/examples/messaging/hello_xml.cpp
index ae72faaa47..6e9aa0ad6a 100644
--- a/cpp/examples/messaging/hello_xml.cpp
+++ b/cpp/examples/messaging/hello_xml.cpp
@@ -1,3 +1,24 @@
+/*
+ *
+ * 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.
+ *
+ */
+
#include <qpid/messaging/Connection.h>
#include <qpid/messaging/Message.h>
#include <qpid/messaging/Receiver.h>