Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Samples/AdvancedSubscribe.cpp (1 of 27 files). Show all
Unified · Split
| @@ -5,10 +5,10 @@ · 4 unmodified lines | |||
| 5 | // | 5 | // |
| 6 | // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See | 6 | // Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See |
| 7 | // the NOTICE file distributed with this work for additional information regarding copyright ownership. | 7 | // the NOTICE file distributed with this work for additional information regarding copyright ownership. |
| 8 | // The GPA licenses this file to you under the Eclipse Public License -v 1.0 (the "License"); you may | 8 | // The GPA licenses this file to you under the MIT License (MIT), the "License"; you may not use this |
| 9 | // not use this file except in compliance with the License. You may obtain a copy of the License at: | 9 | // file except in compliance with the License. You may obtain a copy of the License at: |
| 10 | // | 10 | // |
| 11 | // http://www.opensource.org/licenses/eclipse-1.0.php | 11 | // http://opensource.org/licenses/MIT |
| 12 | // | 12 | // |
| 13 | // Unless agreed to in writing, the subject software distributed under the License is distributed on an | 13 | // Unless agreed to in writing, the subject software distributed under the License is distributed on an |
| 14 | // "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the | 14 | // "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the |
| @@ -233,13 +233,13 @@ void Resubscribe(DataSubscriber* source) · 218 unmodified lines | |||
| 233 | } | 233 | } |
| 234 | 234 | ||
| 235 | // Callback which is called to display status messages from the subscriber. | 235 | // Callback which is called to display status messages from the subscriber. |
| 236 | void DisplayStatusMessage(DataSubscriber* source, const string& message) | 236 | void DisplayStatusMessage(DataSubscriber*, const string& message) |
| 237 | { | 237 | { |
| 238 | cout << message << endl << endl; | 238 | cout << message << endl << endl; |
| 239 | } | 239 | } |
| 240 | 240 | ||
| 241 | // Callback which is called to display error messages from the connector and subscriber. | 241 | // Callback which is called to display error messages from the connector and subscriber. |
| 242 | void DisplayErrorMessage(DataSubscriber* source, const string& message) | 242 | void DisplayErrorMessage(DataSubscriber*, const string& message) |
| 243 | { | 243 | { |
| 244 | cerr << message << endl << endl; | 244 | cerr << message << endl << endl; |
| 245 | } | 245 | } |