From 885ec15d006585106f676a8b33283d43046c4fd8 Mon Sep 17 00:00:00 2001 From: Randy Armstrong Date: Sat, 14 Feb 2026 12:20:48 -0800 Subject: [PATCH 1/3] Update headers. --- Source/AlarmsAndEvents/ProxyStub/opc_ae.idl | 54 ++++++------ Source/AlarmsAndEvents/ProxyStub/opcae_er.h | 53 ++++++------ Source/AlarmsAndEvents/ProxyStub/opcaedef.h | 53 ++++++------ Source/AlarmsAndEvents/ProxyStub/resource.h | 29 +++++++ Source/Batch/ProxyStub/OpcBatchDef.h | 54 ++++++------ Source/Batch/ProxyStub/OpcBatchError.h | 53 ++++++------ Source/Batch/ProxyStub/OpcBatchProps.h | 56 ++++++------ Source/Batch/ProxyStub/opcbc.idl | 54 ++++++------ Source/Batch/ProxyStub/resource.h | 29 +++++++ Source/Commands/ProxyStub/OpcCmd.idl | 53 ++++++------ Source/Commands/ProxyStub/OpcCmdError.h | 52 +++++------ Source/Commands/ProxyStub/resource.h | 29 +++++++ .../CategoryManager/CCategoryManager.cpp | 2 +- .../Common/CategoryManager/CCategoryManager.h | 2 +- .../CategoryManager/CategoryManager.cpp | 2 +- .../CategoryManager/CategoryManager.idl | 29 +++++++ Source/Common/CategoryManager/StdAfx.cpp | 2 +- Source/Common/CategoryManager/StdAfx.h | 2 +- Source/Common/CategoryManager/resource.h | 2 +- Source/Common/ProxyStub/opccomn.idl | 57 ++++++------ Source/Common/ProxyStub/resource.h | 29 +++++++ Source/Common/SampleDevice/COpcDaDevice.cpp | 53 ++++++------ Source/Common/SampleDevice/COpcDaDevice.h | 53 ++++++------ .../Common/SampleDevice/COpcDaDeviceItem.cpp | 53 ++++++------ Source/Common/SampleDevice/COpcDaDeviceItem.h | 53 ++++++------ Source/Common/SampleDevice/StdAfx.cpp | 54 ++++++------ Source/Common/SampleDevice/StdAfx.h | 52 +++++------ .../Common/SampleServer205/COpcDa20Cache.cpp | 52 +++++------ Source/Common/SampleServer205/COpcDa20Cache.h | 54 ++++++------ Source/Common/SampleServer205/COpcDa20Group.h | 54 ++++++------ .../Common/SampleServer205/COpcDa20Server.cpp | 52 +++++------ .../Common/SampleServer205/COpcDa20Server.h | 54 ++++++------ .../Common/SampleServer205/OpcDa20Server.cpp | 52 +++++------ .../Common/SampleServer205/OpcDa20Server.idl | 52 +++++------ Source/Common/SampleServer205/StdAfx.cpp | 52 +++++------ Source/Common/SampleServer205/StdAfx.h | 52 +++++------ Source/Common/SampleServer205/resource.h | 29 +++++++ .../Common/SampleServerClasses/COpcBinary.cpp | 53 ++++++------ .../Common/SampleServerClasses/COpcBinary.h | 51 ++++++----- .../SampleServerClasses/COpcBinaryReader.cpp | 51 ++++++----- .../SampleServerClasses/COpcBinaryReader.h | 51 ++++++----- .../SampleServerClasses/COpcBinaryStream.cpp | 51 ++++++----- .../SampleServerClasses/COpcBinaryStream.h | 51 ++++++----- .../SampleServerClasses/COpcBinaryWriter.cpp | 51 ++++++----- .../SampleServerClasses/COpcBinaryWriter.h | 53 ++++++------ .../COpcDaBrowseElement.cpp | 53 ++++++------ .../SampleServerClasses/COpcDaBrowseElement.h | 53 ++++++------ .../Common/SampleServerClasses/COpcDaBuffer.h | 55 ++++++------ .../SampleServerClasses/COpcDaCache.cpp | 56 ++++++------ .../Common/SampleServerClasses/COpcDaCache.h | 57 ++++++------ .../SampleServerClasses/COpcDaCacheItem.cpp | 56 ++++++------ .../SampleServerClasses/COpcDaCacheItem.h | 56 ++++++------ .../SampleServerClasses/COpcDaEnumGroup.h | 55 ++++++------ .../SampleServerClasses/COpcDaEnumItem.cpp | 53 ++++++------ .../SampleServerClasses/COpcDaEnumItem.h | 55 ++++++------ .../SampleServerClasses/COpcDaGroup.cpp | 54 ++++++------ .../Common/SampleServerClasses/COpcDaGroup.h | 55 ++++++------ .../SampleServerClasses/COpcDaGroupItem.cpp | 55 ++++++------ .../SampleServerClasses/COpcDaGroupItem.h | 57 ++++++------ .../SampleServerClasses/COpcDaProperty.cpp | 53 ++++++------ .../SampleServerClasses/COpcDaProperty.h | 55 ++++++------ .../SampleServerClasses/COpcDaServer.cpp | 59 ++++++------- .../Common/SampleServerClasses/COpcDaServer.h | 57 ++++++------ .../SampleServerClasses/COpcDaTransaction.cpp | 56 ++++++------ .../SampleServerClasses/COpcDaTransaction.h | 56 ++++++------ .../COpcDaTypeDictionary.cpp | 53 ++++++------ .../COpcDaTypeDictionary.h | 54 ++++++------ .../COpcDaUpdateThread.cpp | 54 ++++++------ .../SampleServerClasses/COpcDaUpdateThread.h | 54 ++++++------ .../SampleServerClasses/COpcDaWriteThread.cpp | 51 ++++++----- .../SampleServerClasses/COpcDaWriteThread.h | 53 ++++++------ .../Common/SampleServerClasses/IOpcDaDevice.h | 53 ++++++------ .../SampleServerClasses/OpcDaHelpers.cpp | 53 ++++++------ .../Common/SampleServerClasses/OpcDaHelpers.h | 55 ++++++------ Source/Common/SampleServerClasses/StdAfx.cpp | 54 ++++++------ Source/Common/SampleServerClasses/StdAfx.h | 52 +++++------ Source/Common/SampleServerClasses/resource.h | 29 +++++++ .../ServerEnumerator/DCOM Config/AclMgmt.cpp | 29 +++++++ .../ServerEnumerator/DCOM Config/DComPerm.cpp | 29 +++++++ .../ServerEnumerator/DCOM Config/DComPerm.h | 29 +++++++ .../ServerEnumerator/DCOM Config/ListAcl.cpp | 29 +++++++ .../ServerEnumerator/DCOM Config/SDMgmt.cpp | 29 +++++++ .../ServerEnumerator/DCOM Config/SrvcMgmt.cpp | 29 +++++++ .../ServerEnumerator/DCOM Config/UtilS.cpp | 29 +++++++ .../ServerEnumerator/DCOM Config/Wrappers.cpp | 29 +++++++ Source/Common/ServerEnumerator/OpcEnum.cpp | 86 ++++++------------- Source/Common/ServerEnumerator/OpcEnum.idl | 52 +++++------ Source/Common/ServerEnumerator/OpcSeLst.cpp | 61 ++++++------- Source/Common/ServerEnumerator/OpcSvLst.h | 51 ++++++----- Source/Common/ServerEnumerator/StdAfx.cpp | 51 ++++++----- Source/Common/ServerEnumerator/StdAfx.h | 51 ++++++----- Source/Common/ServerEnumerator/resource.h | 29 +++++++ Source/Common/TestClient/OpcTestClient.cpp | 47 ++++++---- Source/Common/TestServer/COpcTestGroup.h | 52 +++++------ Source/Common/TestServer/COpcTestServer.cpp | 52 +++++------ Source/Common/TestServer/COpcTestServer.h | 52 +++++------ Source/Common/TestServer/OpcTestServer.cpp | 52 +++++------ Source/Common/TestServer/OpcTestServer.idl | 52 +++++------ Source/Common/TestServer/StdAfx.cpp | 52 +++++------ Source/Common/TestServer/StdAfx.h | 52 +++++------ Source/Common/TestServer/resource.h | 6 +- Source/DataAccess/ProxyStub/opcda.idl | 83 ++++++------------ Source/DataAccess/ProxyStub/opcerror.h | 57 ++++++------ Source/DataAccess/ProxyStub/resource.h | 29 +++++++ Source/DataExchange/ProxyStub/OpcDx.idl | 63 ++++++-------- Source/DataExchange/ProxyStub/OpcDxError.h | 66 +++++++------- Source/DataExchange/ProxyStub/resource.h | 29 +++++++ .../ProxyStub/OpcHda_Error.h | 53 ++++++------ .../HistoricalDataAccess/ProxyStub/opchda.idl | 55 ++++++------ .../HistoricalDataAccess/ProxyStub/resource.h | 29 +++++++ Source/Include/version.h | 33 ++++++- Source/Security/ProxyStub/OpcErrSec.h | 53 ++++++------ Source/Security/ProxyStub/opcSec.idl | 53 ++++++------ Source/Security/ProxyStub/resource.h | 29 +++++++ Source/Shared/OpcUtilityClasses/COpcArray.h | 53 ++++++------ .../OpcUtilityClasses/COpcBrowseElement.cpp | 53 ++++++------ .../OpcUtilityClasses/COpcBrowseElement.h | 53 ++++++------ .../OpcUtilityClasses/COpcCPContainer.cpp | 52 +++++------ .../OpcUtilityClasses/COpcCPContainer.h | 54 ++++++------ .../OpcUtilityClasses/COpcClassFactory.cpp | 52 +++++------ .../OpcUtilityClasses/COpcClassFactory.h | 54 ++++++------ .../OpcUtilityClasses/COpcComModule.cpp | 52 +++++------ .../Shared/OpcUtilityClasses/COpcComModule.h | 54 ++++++------ .../Shared/OpcUtilityClasses/COpcComObject.h | 54 ++++++------ .../Shared/OpcUtilityClasses/COpcCommon.cpp | 53 ++++++------ Source/Shared/OpcUtilityClasses/COpcCommon.h | 54 ++++++------ .../OpcUtilityClasses/COpcConnectionPoint.cpp | 52 +++++------ .../OpcUtilityClasses/COpcConnectionPoint.h | 54 ++++++------ .../OpcUtilityClasses/COpcCriticalSection.h | 54 ++++++------ .../Shared/OpcUtilityClasses/COpcEnumCPs.cpp | 52 +++++------ Source/Shared/OpcUtilityClasses/COpcEnumCPs.h | 54 ++++++------ .../OpcUtilityClasses/COpcEnumString.cpp | 52 +++++------ .../Shared/OpcUtilityClasses/COpcEnumString.h | 54 ++++++------ .../OpcUtilityClasses/COpcEnumUnknown.cpp | 52 +++++------ .../OpcUtilityClasses/COpcEnumUnknown.h | 54 ++++++------ Source/Shared/OpcUtilityClasses/COpcFile.cpp | 54 ++++++------ Source/Shared/OpcUtilityClasses/COpcFile.h | 52 +++++------ Source/Shared/OpcUtilityClasses/COpcList.h | 52 +++++------ Source/Shared/OpcUtilityClasses/COpcMap.h | 52 +++++------ .../Shared/OpcUtilityClasses/COpcSecurity.cpp | 52 +++++------ .../Shared/OpcUtilityClasses/COpcSecurity.h | 52 +++++------ .../OpcUtilityClasses/COpcSortedArray.h | 51 ++++++----- .../Shared/OpcUtilityClasses/COpcString.cpp | 54 ++++++------ Source/Shared/OpcUtilityClasses/COpcString.h | 53 ++++++------ Source/Shared/OpcUtilityClasses/COpcText.cpp | 52 +++++------ Source/Shared/OpcUtilityClasses/COpcText.h | 52 +++++------ .../OpcUtilityClasses/COpcTextReader.cpp | 52 +++++------ .../Shared/OpcUtilityClasses/COpcTextReader.h | 52 +++++------ .../Shared/OpcUtilityClasses/COpcThread.cpp | 52 +++++------ Source/Shared/OpcUtilityClasses/COpcThread.h | 54 ++++++------ .../OpcUtilityClasses/COpcThreadPool.cpp | 54 ++++++------ .../Shared/OpcUtilityClasses/COpcThreadPool.h | 54 ++++++------ .../Shared/OpcUtilityClasses/COpcVariant.cpp | 53 ++++++------ Source/Shared/OpcUtilityClasses/COpcVariant.h | 53 ++++++------ .../OpcUtilityClasses/COpcXmlAnyType.cpp | 52 +++++------ .../Shared/OpcUtilityClasses/COpcXmlAnyType.h | 52 +++++------ .../OpcUtilityClasses/COpcXmlAttribute.cpp | 52 +++++------ .../OpcUtilityClasses/COpcXmlAttribute.h | 52 +++++------ .../OpcUtilityClasses/COpcXmlDocument.cpp | 53 ++++++------ .../OpcUtilityClasses/COpcXmlDocument.h | 53 ++++++------ .../OpcUtilityClasses/COpcXmlElement.cpp | 54 ++++++------ .../Shared/OpcUtilityClasses/COpcXmlElement.h | 52 +++++------ .../Shared/OpcUtilityClasses/OpcCategory.cpp | 53 ++++++------ Source/Shared/OpcUtilityClasses/OpcCategory.h | 54 ++++++------ Source/Shared/OpcUtilityClasses/OpcDefs.h | 52 +++++------ Source/Shared/OpcUtilityClasses/OpcMatch.cpp | 52 +++++------ Source/Shared/OpcUtilityClasses/OpcMatch.h | 54 ++++++------ .../Shared/OpcUtilityClasses/OpcRegistry.cpp | 53 ++++++------ Source/Shared/OpcUtilityClasses/OpcRegistry.h | 52 +++++------ Source/Shared/OpcUtilityClasses/OpcUtils.cpp | 52 +++++------ Source/Shared/OpcUtilityClasses/OpcUtils.h | 52 +++++------ .../Shared/OpcUtilityClasses/OpcXmlType.cpp | 54 ++++++------ Source/Shared/OpcUtilityClasses/OpcXmlType.h | 52 +++++------ Source/Shared/OpcUtilityClasses/StdAfx.cpp | 54 ++++++------ Source/Shared/OpcUtilityClasses/StdAfx.h | 52 +++++------ Source/Shared/OpcUtilityClasses/resource.h | 29 +++++++ build.txt | 2 +- 177 files changed, 4818 insertions(+), 3747 deletions(-) diff --git a/Source/AlarmsAndEvents/ProxyStub/opc_ae.idl b/Source/AlarmsAndEvents/ProxyStub/opc_ae.idl index d9a48ea..4fec60e 100644 --- a/Source/AlarmsAndEvents/ProxyStub/opc_ae.idl +++ b/Source/AlarmsAndEvents/ProxyStub/opc_ae.idl @@ -1,29 +1,31 @@ -//============================================================================== -// TITLE: opc_ae.idl -// -// CONTENTS: -// -// Interface declarations for the OPC Alarms & Event specifications. -// -// (c) Copyright 1997-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/10/02 JL Updated for Version 1.1. -// 2003/01/06 RSA Fixed formatting to comply with coding guidelines. -// 2004/09/01 RSA Renamed modules in TYPELIB section to avoid name conflicts. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ import "oaidl.idl"; import "ocidl.idl"; diff --git a/Source/AlarmsAndEvents/ProxyStub/opcae_er.h b/Source/AlarmsAndEvents/ProxyStub/opcae_er.h index f395741..bce9682 100644 --- a/Source/AlarmsAndEvents/ProxyStub/opcae_er.h +++ b/Source/AlarmsAndEvents/ProxyStub/opcae_er.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: opcae_er.h -// -// CONTENTS: -// -// Defines error codes for the OPC Alarms & Events specification. -// -// (c) Copyright 1997-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/10/02 JL Updated for Version 1.1. -// 2003/01/06 RSA Fixed formatting to comply with coding guidelines. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef __OPCAE_ER_H #define __OPCAE_ER_H diff --git a/Source/AlarmsAndEvents/ProxyStub/opcaedef.h b/Source/AlarmsAndEvents/ProxyStub/opcaedef.h index 62a3db4..fcf0308 100644 --- a/Source/AlarmsAndEvents/ProxyStub/opcaedef.h +++ b/Source/AlarmsAndEvents/ProxyStub/opcaedef.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: opcaedef.h -// -// CONTENTS: -// -// Defines constants for the OPC Alarms & Events specification. -// -// (c) Copyright 1997-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/10/02 JL Updated for Version 1.1. -// 2003/01/06 RSA Fixed formatting to comply with coding guidelines. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef __OPCAEDEF_H #define __OPCAEDEF_H diff --git a/Source/AlarmsAndEvents/ProxyStub/resource.h b/Source/AlarmsAndEvents/ProxyStub/resource.h index 2969b81..cad011b 100644 --- a/Source/AlarmsAndEvents/ProxyStub/resource.h +++ b/Source/AlarmsAndEvents/ProxyStub/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by opc_ae.rc diff --git a/Source/Batch/ProxyStub/OpcBatchDef.h b/Source/Batch/ProxyStub/OpcBatchDef.h index 1068031..62e8883 100644 --- a/Source/Batch/ProxyStub/OpcBatchDef.h +++ b/Source/Batch/ProxyStub/OpcBatchDef.h @@ -1,29 +1,31 @@ -//============================================================================== -// TITLE: OpcBatchDef.h -// -// CONTENTS: -// -// Defines constants for the Batch specifications. -// -// (c) Copyright 2000-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2000/01/17 OPC Created. -// 2001/01/23 OPC Added Version 2.0 properties. -// 2003/01/06 RSA Updated formatting. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef __OPCBATCHDEF_H #define __OPCBATCHDEF_H diff --git a/Source/Batch/ProxyStub/OpcBatchError.h b/Source/Batch/ProxyStub/OpcBatchError.h index 89a87bc..b05da0b 100644 --- a/Source/Batch/ProxyStub/OpcBatchError.h +++ b/Source/Batch/ProxyStub/OpcBatchError.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: OpcBatchError.h -// -// CONTENTS: -// -// Defines error codes for the Batch specifications. -// -// (c) Copyright 2000-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2000/01/17 OPC Created. -// 2003/01/06 RSA Updated formatting. Added messages to proxy/stub resource block. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef __OPCBATCHERROR_H #define __OPCBATCHERROR_H diff --git a/Source/Batch/ProxyStub/OpcBatchProps.h b/Source/Batch/ProxyStub/OpcBatchProps.h index 372b6b2..a2e95f0 100644 --- a/Source/Batch/ProxyStub/OpcBatchProps.h +++ b/Source/Batch/ProxyStub/OpcBatchProps.h @@ -1,29 +1,31 @@ -//============================================================================== -// TITLE: OpcBatchProps.h -// -// CONTENTS: -// -// Defines property IDs for the Batch specifications. -// -// (c) Copyright 2000-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2000/01/17 OPC Created. -// 2001/01/23 OPC Added Version 2.0 properties. -// 2003/01/06 RSA Updated formatting. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef __OPCBATCHPROPS_H #define __OPCBATCHPROPS_H @@ -109,4 +111,4 @@ #define OPC_PROP_B_TRAIN_LIST2 477 #define OPC_PROP_B_TRAIN_LIST2_SCHEMA 478 -#endif // __OPCBATCHPROPS_H \ No newline at end of file +#endif // __OPCBATCHPROPS_H diff --git a/Source/Batch/ProxyStub/opcbc.idl b/Source/Batch/ProxyStub/opcbc.idl index eb87ab8..4d4701a 100644 --- a/Source/Batch/ProxyStub/opcbc.idl +++ b/Source/Batch/ProxyStub/opcbc.idl @@ -1,29 +1,31 @@ -//============================================================================== -// TITLE: opcbc.idl -// -// CONTENTS: -// -// Interface declarations for the OPC Batch specifications. -// -// (c) Copyright 1999-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2000/11/02 OPC Made revisions for version 2.0. -// 2003/01/06 RSA Fixed formatting to comply with coding guidelines. -// 2004/09/01 RSA Renamed modules in TYPELIB section to avoid name conflicts. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ import "oaidl.idl"; diff --git a/Source/Batch/ProxyStub/resource.h b/Source/Batch/ProxyStub/resource.h index e7c1048..3d0b33f 100644 --- a/Source/Batch/ProxyStub/resource.h +++ b/Source/Batch/ProxyStub/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by opcbc_ps.rc diff --git a/Source/Commands/ProxyStub/OpcCmd.idl b/Source/Commands/ProxyStub/OpcCmd.idl index ff1bc0e..ec664b2 100644 --- a/Source/Commands/ProxyStub/OpcCmd.idl +++ b/Source/Commands/ProxyStub/OpcCmd.idl @@ -1,26 +1,31 @@ -//================================================================================ -// TITLE: OpcCmd.idl -// -// CONTENTS: -// -// The OPC Comamnds 1.00 IDL file. -//// -// (c) Copyright 2004 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2004/03/22 RSA First release. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ import "oaidl.idl"; import "ocidl.idl"; @@ -340,4 +345,4 @@ library OpcCmdLib const LPCWSTR OPCCMD_CONTROL_RESUME = L"Resume"; const LPCWSTR OPCCMD_CONTROL_CANCEL = L"Cancel"; } -} \ No newline at end of file +} diff --git a/Source/Commands/ProxyStub/OpcCmdError.h b/Source/Commands/ProxyStub/OpcCmdError.h index 25ee0f1..ed6613b 100644 --- a/Source/Commands/ProxyStub/OpcCmdError.h +++ b/Source/Commands/ProxyStub/OpcCmdError.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcCmdError.h -// -// CONTENTS: -// -// Defines error codes for the OPC Command Execution specification. -// -// (c) Copyright 2004 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/12/12 RSA Created. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _OpcCmdError_H_ #define _OpcCmdError_H_ diff --git a/Source/Commands/ProxyStub/resource.h b/Source/Commands/ProxyStub/resource.h index a38ee5d..4fadd83 100644 --- a/Source/Commands/ProxyStub/resource.h +++ b/Source/Commands/ProxyStub/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by OpcCmdPs.rc diff --git a/Source/Common/CategoryManager/CCategoryManager.cpp b/Source/Common/CategoryManager/CCategoryManager.cpp index 2b4e3b9..9910c99 100644 --- a/Source/Common/CategoryManager/CCategoryManager.cpp +++ b/Source/Common/CategoryManager/CCategoryManager.cpp @@ -1,5 +1,5 @@ /* ======================================================================== - * Copyright (c) 2005-2010 The OPC Foundation, Inc. All rights reserved. + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. * * OPC Foundation MIT License 1.00 * diff --git a/Source/Common/CategoryManager/CCategoryManager.h b/Source/Common/CategoryManager/CCategoryManager.h index a7337d0..fe095ce 100644 --- a/Source/Common/CategoryManager/CCategoryManager.h +++ b/Source/Common/CategoryManager/CCategoryManager.h @@ -1,5 +1,5 @@ /* ======================================================================== - * Copyright (c) 2005-2010 The OPC Foundation, Inc. All rights reserved. + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. * * OPC Foundation MIT License 1.00 * diff --git a/Source/Common/CategoryManager/CategoryManager.cpp b/Source/Common/CategoryManager/CategoryManager.cpp index 5a2afb9..36b8998 100644 --- a/Source/Common/CategoryManager/CategoryManager.cpp +++ b/Source/Common/CategoryManager/CategoryManager.cpp @@ -1,5 +1,5 @@ /* ======================================================================== - * Copyright (c) 2005-2010 The OPC Foundation, Inc. All rights reserved. + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. * * OPC Foundation MIT License 1.00 * diff --git a/Source/Common/CategoryManager/CategoryManager.idl b/Source/Common/CategoryManager/CategoryManager.idl index 6f3e7b5..6479f9f 100644 --- a/Source/Common/CategoryManager/CategoryManager.idl +++ b/Source/Common/CategoryManager/CategoryManager.idl @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + import "opccomn.idl"; [ diff --git a/Source/Common/CategoryManager/StdAfx.cpp b/Source/Common/CategoryManager/StdAfx.cpp index 00468c6..bcc9e02 100644 --- a/Source/Common/CategoryManager/StdAfx.cpp +++ b/Source/Common/CategoryManager/StdAfx.cpp @@ -1,5 +1,5 @@ /* ======================================================================== - * Copyright (c) 2005-2010 The OPC Foundation, Inc. All rights reserved. + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. * * OPC Foundation MIT License 1.00 * diff --git a/Source/Common/CategoryManager/StdAfx.h b/Source/Common/CategoryManager/StdAfx.h index 285994b..067e985 100644 --- a/Source/Common/CategoryManager/StdAfx.h +++ b/Source/Common/CategoryManager/StdAfx.h @@ -1,5 +1,5 @@ /* ======================================================================== - * Copyright (c) 2005-2010 The OPC Foundation, Inc. All rights reserved. + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. * * OPC Foundation MIT License 1.00 * diff --git a/Source/Common/CategoryManager/resource.h b/Source/Common/CategoryManager/resource.h index b02f807..1da4075 100644 --- a/Source/Common/CategoryManager/resource.h +++ b/Source/Common/CategoryManager/resource.h @@ -1,5 +1,5 @@ /* ======================================================================== - * Copyright (c) 2005-2010 The OPC Foundation, Inc. All rights reserved. + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. * * OPC Foundation MIT License 1.00 * diff --git a/Source/Common/ProxyStub/opccomn.idl b/Source/Common/ProxyStub/opccomn.idl index 2a1cffe..6c884fe 100644 --- a/Source/Common/ProxyStub/opccomn.idl +++ b/Source/Common/ProxyStub/opccomn.idl @@ -1,32 +1,31 @@ -//============================================================================== -// TITLE: OpcComn.idl -// -// CONTENTS: -// -// Interface declarations for the OPC Common specification. -// -// (c) Copyright 1998-2002 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 1998/04/09 acc import unknwn.idl rather than oaidl.idl -// 1998/06/15 acc add 'library' object at end to allow typelib generation -// 1998/06/19 acc change V2 uuids prior to final release -// to avoid conflict with 'old' OPCDA Automation uuids -// 1998/09/18 acc add OPCServerList IDL (with help from Gary Klassen) -// 2002/08/21 rsa Added asynchrounous UUIDs. Fixed formatting. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ import "comcat.idl"; import "oaidl.idl"; diff --git a/Source/Common/ProxyStub/resource.h b/Source/Common/ProxyStub/resource.h index 9a6a4b3..78848ae 100644 --- a/Source/Common/ProxyStub/resource.h +++ b/Source/Common/ProxyStub/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by opccomn_ps.rc diff --git a/Source/Common/SampleDevice/COpcDaDevice.cpp b/Source/Common/SampleDevice/COpcDaDevice.cpp index 2034f06..749b287 100644 --- a/Source/Common/SampleDevice/COpcDaDevice.cpp +++ b/Source/Common/SampleDevice/COpcDaDevice.cpp @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcDaDevice.cpp -// -// CONTENTS: -// -// Simulates a simple I/O device. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaDevice.h" diff --git a/Source/Common/SampleDevice/COpcDaDevice.h b/Source/Common/SampleDevice/COpcDaDevice.h index a77485d..1d9c6fe 100644 --- a/Source/Common/SampleDevice/COpcDaDevice.h +++ b/Source/Common/SampleDevice/COpcDaDevice.h @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcDaDevice.h -// -// CONTENTS: -// -// Simulates a simple I/O device. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaDevice_H_ #define _COpcDaDevice_H_ diff --git a/Source/Common/SampleDevice/COpcDaDeviceItem.cpp b/Source/Common/SampleDevice/COpcDaDeviceItem.cpp index fdae580..51c7b23 100644 --- a/Source/Common/SampleDevice/COpcDaDeviceItem.cpp +++ b/Source/Common/SampleDevice/COpcDaDeviceItem.cpp @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcDaDeviceItem.cpp -// -// CONTENTS: -// -// A single simulated I/O point. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaDeviceItem.h" diff --git a/Source/Common/SampleDevice/COpcDaDeviceItem.h b/Source/Common/SampleDevice/COpcDaDeviceItem.h index 5ef8e1d..a590c18 100644 --- a/Source/Common/SampleDevice/COpcDaDeviceItem.h +++ b/Source/Common/SampleDevice/COpcDaDeviceItem.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcDaDeviceItem.h -// -// CONTENTS: -// -// A single simulated I/O point. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/09 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaDeviceItem_H_ #define _COpcDaDeviceItem_H_ diff --git a/Source/Common/SampleDevice/StdAfx.cpp b/Source/Common/SampleDevice/StdAfx.cpp index dd0dbce..5c1662b 100644 --- a/Source/Common/SampleDevice/StdAfx.cpp +++ b/Source/Common/SampleDevice/StdAfx.cpp @@ -1,26 +1,30 @@ -//============================================================================ -// TITLE: StdAfx.cpp -// -// CONTENTS: -// -// This file includes StdAfx.h and is used to create the pre-compiled headers. -// -// (c) Copyright 2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/09/09 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ -#include "StdAfx.h" \ No newline at end of file +#include "StdAfx.h" diff --git a/Source/Common/SampleDevice/StdAfx.h b/Source/Common/SampleDevice/StdAfx.h index 21afd2e..e825370 100644 --- a/Source/Common/SampleDevice/StdAfx.h +++ b/Source/Common/SampleDevice/StdAfx.h @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: StdAfx.h -// -// CONTENTS: -// -// This file standard precompiled include files. -// -// (c) Copyright 2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/09/09 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _StdAfx_H #define _StdAfx_H diff --git a/Source/Common/SampleServer205/COpcDa20Cache.cpp b/Source/Common/SampleServer205/COpcDa20Cache.cpp index ec6528d..27cd654 100644 --- a/Source/Common/SampleServer205/COpcDa20Cache.cpp +++ b/Source/Common/SampleServer205/COpcDa20Cache.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: CXmlDaSourceCache.cpp -// -// CONTENTS: -// -// A concrete instance of a OPC Data Server cache. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDa20Cache.h" diff --git a/Source/Common/SampleServer205/COpcDa20Cache.h b/Source/Common/SampleServer205/COpcDa20Cache.h index d61eb6b..2f1c06d 100644 --- a/Source/Common/SampleServer205/COpcDa20Cache.h +++ b/Source/Common/SampleServer205/COpcDa20Cache.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcDa20Cache.h -// -// CONTENTS: -// -// A concrete instance of a OPC Data Server cache. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaEngine_H_ #define _COpcDaEngine_H_ @@ -82,4 +86,4 @@ extern bool Initialize(); // Uninitialize extern void Uninitialize(); -#endif // _COpcDaEngine_H_ \ No newline at end of file +#endif // _COpcDaEngine_H_ diff --git a/Source/Common/SampleServer205/COpcDa20Group.h b/Source/Common/SampleServer205/COpcDa20Group.h index 43a0f8a..4a6b960 100644 --- a/Source/Common/SampleServer205/COpcDa20Group.h +++ b/Source/Common/SampleServer205/COpcDa20Group.h @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: COpcDa20Group.h -// -// CONTENTS: -// -// A group object for an OPC Data Access server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/05/13 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDa20Group_H_ #define _COpcDa20Group_H_ @@ -62,4 +66,4 @@ class COpcDa20Group : public COpcDaGroup ~COpcDa20Group() { Clear(); } }; -#endif // _COpcDa20Group_H_ \ No newline at end of file +#endif // _COpcDa20Group_H_ diff --git a/Source/Common/SampleServer205/COpcDa20Server.cpp b/Source/Common/SampleServer205/COpcDa20Server.cpp index 11ab96a..578c81e 100644 --- a/Source/Common/SampleServer205/COpcDa20Server.cpp +++ b/Source/Common/SampleServer205/COpcDa20Server.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcDa20Server.cpp -// -// CONTENTS: -// -// The implements the OPC remote server activator. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDa20Server.h" diff --git a/Source/Common/SampleServer205/COpcDa20Server.h b/Source/Common/SampleServer205/COpcDa20Server.h index 6f67c42..c65d896 100644 --- a/Source/Common/SampleServer205/COpcDa20Server.h +++ b/Source/Common/SampleServer205/COpcDa20Server.h @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: COpcDa20Server.h -// -// CONTENTS: -// -// A concrete instance of a OPC Data Server object. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDa20Server_H_ #define _COpcDa20Server_H_ @@ -79,4 +83,4 @@ class COpcDa20Server : virtual COpcDaGroup* CreateGroup(COpcDaServer& cServer, const COpcString& cName) { return new COpcDa20Group(cServer, cName); } }; -#endif // _COpcDa20Server_H_ \ No newline at end of file +#endif // _COpcDa20Server_H_ diff --git a/Source/Common/SampleServer205/OpcDa20Server.cpp b/Source/Common/SampleServer205/OpcDa20Server.cpp index 964252c..187b0e6 100644 --- a/Source/Common/SampleServer205/OpcDa20Server.cpp +++ b/Source/Common/SampleServer205/OpcDa20Server.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcDa20Server.cpp -// -// CONTENTS: -// -// Implements the required COM server functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDa20Server.h" diff --git a/Source/Common/SampleServer205/OpcDa20Server.idl b/Source/Common/SampleServer205/OpcDa20Server.idl index c1d9d39..9df22d8 100644 --- a/Source/Common/SampleServer205/OpcDa20Server.idl +++ b/Source/Common/SampleServer205/OpcDa20Server.idl @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: OpcDa20Server.idl -// -// CONTENTS: -// -// The OPC Data Access Sample Server IDL file. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ import "opccomn.idl"; import "opcda.idl"; diff --git a/Source/Common/SampleServer205/StdAfx.cpp b/Source/Common/SampleServer205/StdAfx.cpp index fa5752f..eb527dd 100644 --- a/Source/Common/SampleServer205/StdAfx.cpp +++ b/Source/Common/SampleServer205/StdAfx.cpp @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: StdAfx.cpp -// -// CONTENTS: -// -// This file includes StdAfx.h and is used to create the pre-compiled headers. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" diff --git a/Source/Common/SampleServer205/StdAfx.h b/Source/Common/SampleServer205/StdAfx.h index 226e212..067e985 100644 --- a/Source/Common/SampleServer205/StdAfx.h +++ b/Source/Common/SampleServer205/StdAfx.h @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: StdAfx.h -// -// CONTENTS: -// -// This file standard precompiled include files. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _StdAfx_H #define _StdAfx_H diff --git a/Source/Common/SampleServer205/resource.h b/Source/Common/SampleServer205/resource.h index cf9ac7a..0501ff6 100644 --- a/Source/Common/SampleServer205/resource.h +++ b/Source/Common/SampleServer205/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by OpcDa20Server.rc diff --git a/Source/Common/SampleServerClasses/COpcBinary.cpp b/Source/Common/SampleServerClasses/COpcBinary.cpp index 1207d20..9994a28 100644 --- a/Source/Common/SampleServerClasses/COpcBinary.cpp +++ b/Source/Common/SampleServerClasses/COpcBinary.cpp @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: COpcBinary.cpp -// -// CONTENTS: -// -// A classes that stores the OPCBinary schema components in memory. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/06/20 RSA Initial implementation. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcBinary.h" @@ -351,4 +356,4 @@ bool COpcTypeDictionary::Write(COpcXmlElement& cElement) // not implemented. return false; -} \ No newline at end of file +} diff --git a/Source/Common/SampleServerClasses/COpcBinary.h b/Source/Common/SampleServerClasses/COpcBinary.h index 16717df..0124118 100644 --- a/Source/Common/SampleServerClasses/COpcBinary.h +++ b/Source/Common/SampleServerClasses/COpcBinary.h @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: COpcBinary.h -// -// CONTENTS: -// -// A classes that stores the OPCBinary schema components in memory. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/10/01 RSA Initial implementation. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcBinary_H #define _COpcBinary_H diff --git a/Source/Common/SampleServerClasses/COpcBinaryReader.cpp b/Source/Common/SampleServerClasses/COpcBinaryReader.cpp index 93ed972..808f337 100644 --- a/Source/Common/SampleServerClasses/COpcBinaryReader.cpp +++ b/Source/Common/SampleServerClasses/COpcBinaryReader.cpp @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: COpcBinaryReader.cs -// -// CONTENTS: -// -// A class that reads a complex data item from a binary buffer. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/10/01 RSA First release. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcBinaryReader.h" diff --git a/Source/Common/SampleServerClasses/COpcBinaryReader.h b/Source/Common/SampleServerClasses/COpcBinaryReader.h index a4a0586..55e68d9 100644 --- a/Source/Common/SampleServerClasses/COpcBinaryReader.h +++ b/Source/Common/SampleServerClasses/COpcBinaryReader.h @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: COpcBinaryReader.h -// -// CONTENTS: -// -// A class that reads a complex data item from a binary buffer. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/10/01 RSA First release. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcBinaryReader_H #define _COpcBinaryReader_H diff --git a/Source/Common/SampleServerClasses/COpcBinaryStream.cpp b/Source/Common/SampleServerClasses/COpcBinaryStream.cpp index 593374f..8aeddef 100644 --- a/Source/Common/SampleServerClasses/COpcBinaryStream.cpp +++ b/Source/Common/SampleServerClasses/COpcBinaryStream.cpp @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: COpcBinaryStream.cpp -// -// CONTENTS: -// -// A class that reads a complex data item from a binary buffer. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/10/01 RSA First release. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcBinaryStream.h" diff --git a/Source/Common/SampleServerClasses/COpcBinaryStream.h b/Source/Common/SampleServerClasses/COpcBinaryStream.h index 2362bee..4e2e481 100644 --- a/Source/Common/SampleServerClasses/COpcBinaryStream.h +++ b/Source/Common/SampleServerClasses/COpcBinaryStream.h @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: COpcBinaryReader.h -// -// CONTENTS: -// -// A class that reads a complex data item from a binary buffer. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/10/01 RSA First release. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcBinaryStream_H #define _COpcBinaryStream_H diff --git a/Source/Common/SampleServerClasses/COpcBinaryWriter.cpp b/Source/Common/SampleServerClasses/COpcBinaryWriter.cpp index 4ec0db4..617a9db 100644 --- a/Source/Common/SampleServerClasses/COpcBinaryWriter.cpp +++ b/Source/Common/SampleServerClasses/COpcBinaryWriter.cpp @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: BinaryWriter.cpp -// -// CONTENTS: -// -// A class that writes a complex data item to a binary pBuffer. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/10/01 RSA First release. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcBinaryWriter.h" diff --git a/Source/Common/SampleServerClasses/COpcBinaryWriter.h b/Source/Common/SampleServerClasses/COpcBinaryWriter.h index 2a92cfb..700d1f2 100644 --- a/Source/Common/SampleServerClasses/COpcBinaryWriter.h +++ b/Source/Common/SampleServerClasses/COpcBinaryWriter.h @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: BinaryWriter.h -// -// CONTENTS: -// -// A class that writes a complex data item to a binary buffer. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/10/01 RSA First release. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcBinaryWriter_H #define _COpcBinaryWriter_H @@ -157,4 +162,4 @@ class COpcBinaryWriter : public COpcBinaryStream ); }; -#endif // _COpcBinaryWriter_H \ No newline at end of file +#endif // _COpcBinaryWriter_H diff --git a/Source/Common/SampleServerClasses/COpcDaBrowseElement.cpp b/Source/Common/SampleServerClasses/COpcDaBrowseElement.cpp index b826686..97d3abe 100644 --- a/Source/Common/SampleServerClasses/COpcDaBrowseElement.cpp +++ b/Source/Common/SampleServerClasses/COpcDaBrowseElement.cpp @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcDaBrowseElement.cpp -// -// CONTENTS: -// -// A single element in the OPC server namespace. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaBrowseElement.h" diff --git a/Source/Common/SampleServerClasses/COpcDaBrowseElement.h b/Source/Common/SampleServerClasses/COpcDaBrowseElement.h index 8672a57..13ac7df 100644 --- a/Source/Common/SampleServerClasses/COpcDaBrowseElement.h +++ b/Source/Common/SampleServerClasses/COpcDaBrowseElement.h @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcDaBrowseElement.h -// -// CONTENTS: -// -// A single element in the OPC server namespace. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaBrowseElement_H_ #define _COpcDaBrowseElement_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaBuffer.h b/Source/Common/SampleServerClasses/COpcDaBuffer.h index 73b2a5e..c7b72ef 100644 --- a/Source/Common/SampleServerClasses/COpcDaBuffer.h +++ b/Source/Common/SampleServerClasses/COpcDaBuffer.h @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcDaBuffer.h -// -// CONTENTS: -// -// A rotating buffer of OPC items. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaBuffer_H_ #define _COpcDaBuffer_H_ @@ -257,4 +260,4 @@ class COpcDaBuffer bool m_bOverflow; }; -#endif // _COpcDaBuffer_H_ \ No newline at end of file +#endif // _COpcDaBuffer_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaCache.cpp b/Source/Common/SampleServerClasses/COpcDaCache.cpp index 1de8887..270fe38 100644 --- a/Source/Common/SampleServerClasses/COpcDaCache.cpp +++ b/Source/Common/SampleServerClasses/COpcDaCache.cpp @@ -1,31 +1,31 @@ -//============================================================================== -// TITLE: COpcDaCache.h -// -// CONTENTS: -// -// The global item cache for an OPC server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/03/22 RSA Added support for complex data. -// 2003/04/08 RSA Added check to prevent item ids from being returned for basic properties. -// 2003/05/06 RSA Added check for empty strings when parsing item ids. -// 2003/06/25 RSA Fixed memory problems and fetched server info from resource block. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaCache.h" diff --git a/Source/Common/SampleServerClasses/COpcDaCache.h b/Source/Common/SampleServerClasses/COpcDaCache.h index aab1a45..04641c9 100644 --- a/Source/Common/SampleServerClasses/COpcDaCache.h +++ b/Source/Common/SampleServerClasses/COpcDaCache.h @@ -1,30 +1,31 @@ -//============================================================================ -// TITLE: COpcDaCache.h -// -// CONTENTS: -// -// The global item cache for an OPC server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/03/22 RSA Added support for complex data. -// 2003/04/08 RSA Added check to prevent item ids from being returned for basic properties. -// 2003/06/25 RSA Fixed memory problems and fetched server info from resource block. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaCache_H_ #define _COpcDaCache_H_ @@ -333,4 +334,4 @@ class COpcDaCache : public IOpcDaDevice, public COpcSynchObject extern COpcDaCache& GetCache(); -#endif // _COpcDaCache_H_ \ No newline at end of file +#endif // _COpcDaCache_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaCacheItem.cpp b/Source/Common/SampleServerClasses/COpcDaCacheItem.cpp index 7ea9252..778a412 100644 --- a/Source/Common/SampleServerClasses/COpcDaCacheItem.cpp +++ b/Source/Common/SampleServerClasses/COpcDaCacheItem.cpp @@ -1,29 +1,31 @@ -//============================================================================ -// TITLE: COpcDaCacheItem.cpp -// -// CONTENTS: -// -// A single item in the global cache for an OPC server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/03/22 RSA Added support for complex data. -// 2003/06/25 RSA Fixed memory problems. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaCacheItem.h" @@ -695,4 +697,4 @@ HRESULT COpcDaCacheItem::FromEnumValue( } return S_OK; -} \ No newline at end of file +} diff --git a/Source/Common/SampleServerClasses/COpcDaCacheItem.h b/Source/Common/SampleServerClasses/COpcDaCacheItem.h index 0ad3adf..77a687c 100644 --- a/Source/Common/SampleServerClasses/COpcDaCacheItem.h +++ b/Source/Common/SampleServerClasses/COpcDaCacheItem.h @@ -1,29 +1,31 @@ -//============================================================================ -// TITLE: COpcDaCacheItem.h -// -// CONTENTS: -// -// A single item in the global cache for an OPC server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/03/22 RSA Added support for complex data. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaCacheItem_H_ #define _COpcDaCacheItem_H_ @@ -189,4 +191,4 @@ class COpcDaCacheItem typedef COpcMap COpcDaCacheItemMap; -#endif // _COpcDaCacheItem_H_ \ No newline at end of file +#endif // _COpcDaCacheItem_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaEnumGroup.h b/Source/Common/SampleServerClasses/COpcDaEnumGroup.h index c5c8b50..e6727ae 100644 --- a/Source/Common/SampleServerClasses/COpcDaEnumGroup.h +++ b/Source/Common/SampleServerClasses/COpcDaEnumGroup.h @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcDaEnumGroup.h -// -// CONTENTS: -// -// An implementation of the IEnumConnectionPoints interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaEnumGroup_H_ #define _COpcDaEnumGroup_H_ @@ -102,4 +105,4 @@ class COpcDaEnumGroup OPCITEMATTRIBUTES* m_pItems; }; -#endif // _COpcDaEnumGroup_H_ \ No newline at end of file +#endif // _COpcDaEnumGroup_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaEnumItem.cpp b/Source/Common/SampleServerClasses/COpcDaEnumItem.cpp index bf88518..ae834f8 100644 --- a/Source/Common/SampleServerClasses/COpcDaEnumItem.cpp +++ b/Source/Common/SampleServerClasses/COpcDaEnumItem.cpp @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcDaEnumItem.cpp -// -// CONTENTS: -// -// An implementation of the IEnumOPCItemAttributes interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaEnumItem.h" diff --git a/Source/Common/SampleServerClasses/COpcDaEnumItem.h b/Source/Common/SampleServerClasses/COpcDaEnumItem.h index 619b1e2..4a040cb 100644 --- a/Source/Common/SampleServerClasses/COpcDaEnumItem.h +++ b/Source/Common/SampleServerClasses/COpcDaEnumItem.h @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcDaEnumItem.h -// -// CONTENTS: -// -// An implementation of the IEnumOPCItemAttributes interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaEnumItem_H_ #define _COpcDaEnumItem_H_ @@ -102,4 +105,4 @@ class COpcDaEnumItem OPCITEMATTRIBUTES* m_pItems; }; -#endif // _COpcDaEnumItem_H_ \ No newline at end of file +#endif // _COpcDaEnumItem_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaGroup.cpp b/Source/Common/SampleServerClasses/COpcDaGroup.cpp index 9b84b2c..93cc45f 100644 --- a/Source/Common/SampleServerClasses/COpcDaGroup.cpp +++ b/Source/Common/SampleServerClasses/COpcDaGroup.cpp @@ -1,29 +1,31 @@ -//============================================================================ -// TITLE: COpcDaGroup.cpp -// -// CONTENTS: -// -// A group object for an OPC Data Access server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/05/05 RSA Fixed return codes for GetItemDeadBands() and SetItemDeadBands(). -// 2003/06/25 RSA Ensured asynchronous write requests are processed in order. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaGroup.h" diff --git a/Source/Common/SampleServerClasses/COpcDaGroup.h b/Source/Common/SampleServerClasses/COpcDaGroup.h index d7bfb33..bed6f3b 100644 --- a/Source/Common/SampleServerClasses/COpcDaGroup.h +++ b/Source/Common/SampleServerClasses/COpcDaGroup.h @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcDaGroup.h -// -// CONTENTS: -// -// A group object for an OPC Data Access server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaGroup_H_ #define _COpcDaGroup_H_ @@ -464,4 +467,4 @@ class COpcDaGroup : typedef COpcMap COpcDaGroupMap; -#endif // _COpcDaGroup_H_ \ No newline at end of file +#endif // _COpcDaGroup_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaGroupItem.cpp b/Source/Common/SampleServerClasses/COpcDaGroupItem.cpp index 0b4ce12..7c4a6af 100644 --- a/Source/Common/SampleServerClasses/COpcDaGroupItem.cpp +++ b/Source/Common/SampleServerClasses/COpcDaGroupItem.cpp @@ -1,30 +1,31 @@ -//============================================================================ -// TITLE: COpcDaGroupItem.cpp -// -// CONTENTS: -// -// A single item in a group in an OPC server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/07/23 RSA Fixed problem with update and sample time calculations. -// 2003/08/11 RSA Added check to ensure errors are only returned once. -// 2003/08/15 RSA Fixed problem with update and sample time calculations again. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaGroupItem.h" diff --git a/Source/Common/SampleServerClasses/COpcDaGroupItem.h b/Source/Common/SampleServerClasses/COpcDaGroupItem.h index 0d87493..b2027e4 100644 --- a/Source/Common/SampleServerClasses/COpcDaGroupItem.h +++ b/Source/Common/SampleServerClasses/COpcDaGroupItem.h @@ -1,30 +1,31 @@ -//============================================================================ -// TITLE: COpcDaGroupItem.h -// -// CONTENTS: -// -// A single item in a group in an OPC server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/07/23 RSA Fixed problem with update and sample time calculations. -// 2003/08/11 RSA Added check to ensure errors are only returned once. -// 2003/08/15 RSA Fixed problem with update and sample time calculations again. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaGroupItem_H_ #define _COpcDaGroupItem_H_ @@ -202,4 +203,4 @@ class COpcDaGroupItem typedef COpcMap COpcDaGroupItemMap; -#endif // _COpcDaGroupItem_H_ \ No newline at end of file +#endif // _COpcDaGroupItem_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaProperty.cpp b/Source/Common/SampleServerClasses/COpcDaProperty.cpp index 4f60e6d..647a37c 100644 --- a/Source/Common/SampleServerClasses/COpcDaProperty.cpp +++ b/Source/Common/SampleServerClasses/COpcDaProperty.cpp @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcDaProperty.cpp -// -// CONTENTS: -// -// Tables that describe all well known item properties. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaProperty.h" diff --git a/Source/Common/SampleServerClasses/COpcDaProperty.h b/Source/Common/SampleServerClasses/COpcDaProperty.h index b719005..332c9a2 100644 --- a/Source/Common/SampleServerClasses/COpcDaProperty.h +++ b/Source/Common/SampleServerClasses/COpcDaProperty.h @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcDaProperty.h -// -// CONTENTS: -// -// Constants that describe all well known item properties. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaProperty_H_ #define _COpcDaProperty_H_ @@ -216,4 +219,4 @@ COpcString OpcConstructItemID(LPCWSTR szItemID, DWORD dwPropertyID); #define OPC_PROPERTY_SIMULATION_COUNT 5001 #define OPC_PROPERTY_SIMULATION_TIMESTAMP 5002 -#endif // _COpcDaProperty_H_ \ No newline at end of file +#endif // _COpcDaProperty_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaServer.cpp b/Source/Common/SampleServerClasses/COpcDaServer.cpp index f683370..e927c35 100644 --- a/Source/Common/SampleServerClasses/COpcDaServer.cpp +++ b/Source/Common/SampleServerClasses/COpcDaServer.cpp @@ -1,34 +1,31 @@ -//============================================================================ -// TITLE: COpcDaServer.cpp -// -// CONTENTS: -// -// Implements an OPC Data Access server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/03/09 RSA Made autogenerated group names more user friendly. -// 2003/03/21 RSA Fixed incorrect loop in LookupItemIDs(). -// 2003/04/08 RSA Added check to prevent item ids from being returned for basic properties. -// 2003/05/06 RSA Fixed return code problem in Browse(). -// 2003/05/13 RSA Added support for 2.0 only servers. -// 2003/06/25 RSA Fetch server information for the resource block now. -// 2003/07/30 TK Corrected problem with group counter. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaServer.h" diff --git a/Source/Common/SampleServerClasses/COpcDaServer.h b/Source/Common/SampleServerClasses/COpcDaServer.h index de5696b..d5c9f73 100644 --- a/Source/Common/SampleServerClasses/COpcDaServer.h +++ b/Source/Common/SampleServerClasses/COpcDaServer.h @@ -1,30 +1,31 @@ -//============================================================================ -// TITLE: COpcDaServer.h -// -// CONTENTS: -// -// Implements an OPC Data Access server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/03/09 RSA Made autogenerated group names more user friendly. -// 2003/05/13 RSA Added support for 2.0 only servers. -// 2003/06/25 RSA Fetch server information for the resource block now. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaServer_H_ #define _COpcDaServer_H_ @@ -276,4 +277,4 @@ class COpcDaServer : UINT m_uCounter; }; -#endif // _COpcDaServer_H_ \ No newline at end of file +#endif // _COpcDaServer_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaTransaction.cpp b/Source/Common/SampleServerClasses/COpcDaTransaction.cpp index 363ac2c..c715132 100644 --- a/Source/Common/SampleServerClasses/COpcDaTransaction.cpp +++ b/Source/Common/SampleServerClasses/COpcDaTransaction.cpp @@ -1,29 +1,31 @@ -//============================================================================ -// TITLE: COpcDaTransaction.cpp -// -// CONTENTS: -// -// Contains all information required to process an asynchronous transaction. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/03/10 RSA Ensured client assigned transaction ids were are saved. -// 2003/06/25 RSA Added ChangeType(). +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaTransaction.h" @@ -151,4 +153,4 @@ void COpcDaTransaction::SetItemErrors(HRESULT* pNewErrors) void COpcDaTransaction::ChangeType(DWORD dwType) { m_uType = dwType; -} \ No newline at end of file +} diff --git a/Source/Common/SampleServerClasses/COpcDaTransaction.h b/Source/Common/SampleServerClasses/COpcDaTransaction.h index 86945ea..0057368 100644 --- a/Source/Common/SampleServerClasses/COpcDaTransaction.h +++ b/Source/Common/SampleServerClasses/COpcDaTransaction.h @@ -1,29 +1,31 @@ -//============================================================================ -// TITLE: COpcDaTransaction.h -// -// CONTENTS: -// -// Contains all information required to process an asynchronous transaction. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/03/10 RSA Ensured client assigned transaction ids were are saved. -// 2003/06/25 RSA Added ChangeType(). +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaTransaction_H_ #define _COpcDaTransaction_H_ @@ -114,4 +116,4 @@ class COpcDaTransaction : public COpcMessage typedef COpcList COpcDaTransactionQueue; -#endif // _COpcDaTransaction_H_ \ No newline at end of file +#endif // _COpcDaTransaction_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaTypeDictionary.cpp b/Source/Common/SampleServerClasses/COpcDaTypeDictionary.cpp index 4034ffa..94968d8 100644 --- a/Source/Common/SampleServerClasses/COpcDaTypeDictionary.cpp +++ b/Source/Common/SampleServerClasses/COpcDaTypeDictionary.cpp @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcDaTypeDictionary.cpp -// -// CONTENTS: -// -// Manages complex type items and complex type descriptions. -// -// (c) Copyright 2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/03/22 RSA First implementation. -// 2003/06/25 RSA Fixed memory problems. -// 2003/09/17 RSA Updated for latest draft of the complex data spec. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaTypeDictionary.h" diff --git a/Source/Common/SampleServerClasses/COpcDaTypeDictionary.h b/Source/Common/SampleServerClasses/COpcDaTypeDictionary.h index ac0521c..1ec4025 100644 --- a/Source/Common/SampleServerClasses/COpcDaTypeDictionary.h +++ b/Source/Common/SampleServerClasses/COpcDaTypeDictionary.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcDaTypeDictionary.h -// -// CONTENTS: -// -// Manages complex type items and complex type descriptions. -// -// (c) Copyright 2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/03/22 RSA First implementation. -// 2003/09/17 RSA Updated for latest draft of the complex data spec. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaTypeDictionary_H_ #define _COpcDaTypeDictionary_H_ @@ -180,4 +184,4 @@ class COpcDaTypeDictionary : typedef COpcMap COpcDaTypeDictionaryMap; -#endif // _COpcDaTypeDictionary_H_ \ No newline at end of file +#endif // _COpcDaTypeDictionary_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaUpdateThread.cpp b/Source/Common/SampleServerClasses/COpcDaUpdateThread.cpp index f18119d..93ffd7e 100644 --- a/Source/Common/SampleServerClasses/COpcDaUpdateThread.cpp +++ b/Source/Common/SampleServerClasses/COpcDaUpdateThread.cpp @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: COpcDaUpdateThread.cpp -// -// CONTENTS: -// -// Periodically updates all registered (a.k.a active) groups. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/12/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaGroup.h" @@ -221,4 +225,4 @@ void COpcDaUpdateThread::Unregister(COpcDaGroup* pGroup) m_cGroups.GetNext(pos); } -} \ No newline at end of file +} diff --git a/Source/Common/SampleServerClasses/COpcDaUpdateThread.h b/Source/Common/SampleServerClasses/COpcDaUpdateThread.h index 762591a..b6fc7e9 100644 --- a/Source/Common/SampleServerClasses/COpcDaUpdateThread.h +++ b/Source/Common/SampleServerClasses/COpcDaUpdateThread.h @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: COpcDaUpdateThread.h -// -// CONTENTS: -// -// Periodically updates all registered (a.k.a active) groups. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/12/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaUpdateThread_H_ #define _COpcDaUpdateThread_H_ @@ -81,4 +85,4 @@ class COpcDaUpdateThread : public COpcSynchObject COpcList m_cGroups; }; -#endif // _COpcDaUpdateThread_H_ \ No newline at end of file +#endif // _COpcDaUpdateThread_H_ diff --git a/Source/Common/SampleServerClasses/COpcDaWriteThread.cpp b/Source/Common/SampleServerClasses/COpcDaWriteThread.cpp index f31e504..7881be8 100644 --- a/Source/Common/SampleServerClasses/COpcDaWriteThread.cpp +++ b/Source/Common/SampleServerClasses/COpcDaWriteThread.cpp @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: COpcDaWriteThread.cpp -// -// CONTENTS: -// -// A thread that serializes asynchronous write requests. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/06/20 RSA Initial implementation. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcDaWriteThread.h" diff --git a/Source/Common/SampleServerClasses/COpcDaWriteThread.h b/Source/Common/SampleServerClasses/COpcDaWriteThread.h index 2c04ae5..975b0f3 100644 --- a/Source/Common/SampleServerClasses/COpcDaWriteThread.h +++ b/Source/Common/SampleServerClasses/COpcDaWriteThread.h @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: COpcDaWriteThread.h -// -// CONTENTS: -// -// A thread that serializes asynchronous write requests. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/06/20 RSA Initial implementation. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcDaWriteThread_H_ #define _COpcDaWriteThread_H_ @@ -74,4 +79,4 @@ class COpcDaWriteThread : public COpcSynchObject HANDLE m_hEvent; }; -#endif // _COpcDaWriteThread_H_ \ No newline at end of file +#endif // _COpcDaWriteThread_H_ diff --git a/Source/Common/SampleServerClasses/IOpcDaDevice.h b/Source/Common/SampleServerClasses/IOpcDaDevice.h index 63fe23b..8af5636 100644 --- a/Source/Common/SampleServerClasses/IOpcDaDevice.h +++ b/Source/Common/SampleServerClasses/IOpcDaDevice.h @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: IOpcDaDevice.h -// -// CONTENTS: -// -// The interface to a device object. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/20 RSA First release. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _IOpcDaDevice_H_ #define _IOpcDaDevice_H_ @@ -82,4 +87,4 @@ interface IOpcDaDevice extern IOpcDaDevice* GetDevice(const COpcString& cItemID); -#endif // _IOpcDaDevice_H_ \ No newline at end of file +#endif // _IOpcDaDevice_H_ diff --git a/Source/Common/SampleServerClasses/OpcDaHelpers.cpp b/Source/Common/SampleServerClasses/OpcDaHelpers.cpp index 3ab9528..1bf5c09 100644 --- a/Source/Common/SampleServerClasses/OpcDaHelpers.cpp +++ b/Source/Common/SampleServerClasses/OpcDaHelpers.cpp @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: OpcDaHelpers.cpp -// -// CONTENTS: -// -// XML/Text conversion helper functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/06/25 RSA Added OpcDaGetModuleVersion(). +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "OpcDaHelpers.h" diff --git a/Source/Common/SampleServerClasses/OpcDaHelpers.h b/Source/Common/SampleServerClasses/OpcDaHelpers.h index 1995ed1..204967e 100644 --- a/Source/Common/SampleServerClasses/OpcDaHelpers.h +++ b/Source/Common/SampleServerClasses/OpcDaHelpers.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: OpcDaHelpers.h -// -// CONTENTS: -// -// XML/Text conversion helper functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/06/25 RSA Added OpcDaGetModuleVersion(). +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _OpcDaHelpers_H #define _OpcDaHelpers_H @@ -72,4 +75,4 @@ struct OpcDaVersionInfo // OpcDaGetModuleVersion bool OpcDaGetModuleVersion(OpcDaVersionInfo& cInfo); -#endif // _OpcDaHelpers_H \ No newline at end of file +#endif // _OpcDaHelpers_H diff --git a/Source/Common/SampleServerClasses/StdAfx.cpp b/Source/Common/SampleServerClasses/StdAfx.cpp index f89c63f..eda3a13 100644 --- a/Source/Common/SampleServerClasses/StdAfx.cpp +++ b/Source/Common/SampleServerClasses/StdAfx.cpp @@ -1,29 +1,33 @@ -//============================================================================ -// TITLE: StdAfx.cpp -// -// CONTENTS: -// -// This file includes StdAfx.h and is used to create the pre-compiled headers. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "opcda_i.c" -#include "opcsec_i.c" \ No newline at end of file +#include "opcsec_i.c" diff --git a/Source/Common/SampleServerClasses/StdAfx.h b/Source/Common/SampleServerClasses/StdAfx.h index ad82533..e833f4d 100644 --- a/Source/Common/SampleServerClasses/StdAfx.h +++ b/Source/Common/SampleServerClasses/StdAfx.h @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: StdAfx.h -// -// CONTENTS: -// -// This file standard precompiled include files. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _OpcDa_StdAfx_H #define _OpcDa_StdAfx_H diff --git a/Source/Common/SampleServerClasses/resource.h b/Source/Common/SampleServerClasses/resource.h index baad4e1..3cc0e7a 100644 --- a/Source/Common/SampleServerClasses/resource.h +++ b/Source/Common/SampleServerClasses/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by OpcDaServer.rc diff --git a/Source/Common/ServerEnumerator/DCOM Config/AclMgmt.cpp b/Source/Common/ServerEnumerator/DCOM Config/AclMgmt.cpp index 45e2b89..9889775 100644 --- a/Source/Common/ServerEnumerator/DCOM Config/AclMgmt.cpp +++ b/Source/Common/ServerEnumerator/DCOM Config/AclMgmt.cpp @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + // ---------------------------------------------------------------------------- // // This file is part of the Microsoft COM+ Samples. diff --git a/Source/Common/ServerEnumerator/DCOM Config/DComPerm.cpp b/Source/Common/ServerEnumerator/DCOM Config/DComPerm.cpp index 6bc016e..8519422 100644 --- a/Source/Common/ServerEnumerator/DCOM Config/DComPerm.cpp +++ b/Source/Common/ServerEnumerator/DCOM Config/DComPerm.cpp @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + // ---------------------------------------------------------------------------- // // This file is part of the Microsoft COM+ Samples. diff --git a/Source/Common/ServerEnumerator/DCOM Config/DComPerm.h b/Source/Common/ServerEnumerator/DCOM Config/DComPerm.h index 26da00b..8b034ae 100644 --- a/Source/Common/ServerEnumerator/DCOM Config/DComPerm.h +++ b/Source/Common/ServerEnumerator/DCOM Config/DComPerm.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + // ---------------------------------------------------------------------------- // // This file is part of the Microsoft COM+ Samples. diff --git a/Source/Common/ServerEnumerator/DCOM Config/ListAcl.cpp b/Source/Common/ServerEnumerator/DCOM Config/ListAcl.cpp index 4da53ce..af08452 100644 --- a/Source/Common/ServerEnumerator/DCOM Config/ListAcl.cpp +++ b/Source/Common/ServerEnumerator/DCOM Config/ListAcl.cpp @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + // ---------------------------------------------------------------------------- // // This file is part of the Microsoft COM+ Samples. diff --git a/Source/Common/ServerEnumerator/DCOM Config/SDMgmt.cpp b/Source/Common/ServerEnumerator/DCOM Config/SDMgmt.cpp index 2f8b142..842624e 100644 --- a/Source/Common/ServerEnumerator/DCOM Config/SDMgmt.cpp +++ b/Source/Common/ServerEnumerator/DCOM Config/SDMgmt.cpp @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + // ---------------------------------------------------------------------------- // // This file is part of the Microsoft COM+ Samples. diff --git a/Source/Common/ServerEnumerator/DCOM Config/SrvcMgmt.cpp b/Source/Common/ServerEnumerator/DCOM Config/SrvcMgmt.cpp index fe0ffa1..b4c317a 100644 --- a/Source/Common/ServerEnumerator/DCOM Config/SrvcMgmt.cpp +++ b/Source/Common/ServerEnumerator/DCOM Config/SrvcMgmt.cpp @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + // ---------------------------------------------------------------------------- // // This file is part of the Microsoft COM+ Samples. diff --git a/Source/Common/ServerEnumerator/DCOM Config/UtilS.cpp b/Source/Common/ServerEnumerator/DCOM Config/UtilS.cpp index d0546c7..f78e826 100644 --- a/Source/Common/ServerEnumerator/DCOM Config/UtilS.cpp +++ b/Source/Common/ServerEnumerator/DCOM Config/UtilS.cpp @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + // ---------------------------------------------------------------------------- // // This file is part of the Microsoft COM+ Samples. diff --git a/Source/Common/ServerEnumerator/DCOM Config/Wrappers.cpp b/Source/Common/ServerEnumerator/DCOM Config/Wrappers.cpp index e3e9ce5..b05f065 100644 --- a/Source/Common/ServerEnumerator/DCOM Config/Wrappers.cpp +++ b/Source/Common/ServerEnumerator/DCOM Config/Wrappers.cpp @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + // ---------------------------------------------------------------------------- // // This file is part of the Microsoft COM+ Samples. diff --git a/Source/Common/ServerEnumerator/OpcEnum.cpp b/Source/Common/ServerEnumerator/OpcEnum.cpp index f1700b6..90a008d 100644 --- a/Source/Common/ServerEnumerator/OpcEnum.cpp +++ b/Source/Common/ServerEnumerator/OpcEnum.cpp @@ -1,61 +1,31 @@ -//============================================================================ -// TITLE: OpcEnum.cpp -// -// CONTENTS: -// -// Implements the OpcServerList object for browsing a computer for OPC servers. -// -// (c) Copyright 1998-2002 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/06/12 mar -// -// Added KEY_EXECUTE to CRegKey.Open in tWinMain() to allow -// OpcEnum to be run from a non-privileged account. Thanks to Matthew -// Burke of Automsoft and Thomas Rummel of Softing for highlighting -// the problem and solution. -// -// Set DCOM launch and access permissions to Everyone and the -// authentication level to None during Registration. Load DCOM security -// settings from the registry so that they can be changed later with -// dcomcnfg. If any security setting is already set in the registry, -// then that setting is not changed. Thanks to Thomas Rummel of Softing -// for the code to set the launch and access permissions and -// authentication level. -// -// Corrected a problem with OpcEnum shutting down on Win9x systems when -// OpcEnum is started at system startup. Thanks to Thomas Rummel of -// Softing for finding and correcting this problem. -// -// 2002/07/17 mar -// -// Added code so that when OpcEnum is registered as a service on Win9x -// systems it will add a registry value under -// HKLM\Software\Microsoft\Windows\CurrentVersion\RunServices -// to cause OpcEnum to be run automatically when the OS starts before a -// user has logged on. It will not stop until the OS is shutdown. -// -// 2003/03/02 rsa -// -// Added a wait loop to ensure the service is removed from the SCM before the -// uninstallation completes. -// -// 2004/12/01 rsa -// -// Use the XP SP2 DCOM configuration APIs if OS is Windows XP SP2 or greater. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "stdafx.h" #include "resource.h" diff --git a/Source/Common/ServerEnumerator/OpcEnum.idl b/Source/Common/ServerEnumerator/OpcEnum.idl index 9cdbd60..1d866fb 100644 --- a/Source/Common/ServerEnumerator/OpcEnum.idl +++ b/Source/Common/ServerEnumerator/OpcEnum.idl @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: OpcEnum.idl -// -// CONTENTS: -// -// IDL declaration for OpcEnum. -// -// (c) Copyright 1998-2002 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/06/12 mar Add IOPCServerList2 to OpcServerList object -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ import "opccomn.idl"; diff --git a/Source/Common/ServerEnumerator/OpcSeLst.cpp b/Source/Common/ServerEnumerator/OpcSeLst.cpp index 6c18aa7..7b44786 100644 --- a/Source/Common/ServerEnumerator/OpcSeLst.cpp +++ b/Source/Common/ServerEnumerator/OpcSeLst.cpp @@ -1,36 +1,31 @@ -//============================================================================ -// TITLE: OpcSeLst.cpp -// -// CONTENTS: -// -// Implementation of the EnumClassesOfCategories methods. -// -// (c) Copyright 1998-2002 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/06/12 mar Added the EnumClassesOfCategories method that uses -// the new IOPCEnumGUID interface. -// -// Added AddOldstyleServers function to get all of the "old-style" -// DA 1.0 servers that did not register themselves with the -// ccomponent ategory ID of CATID_OPCDAServer10. -// -// 2002/06/24 mar Added the VerIndProgID parameter to -// IOPCServerList2::GetClassDetails. This returns the -// VersionIndependentProgID if it is in the registry. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "stdafx.h" #include "OpcSvLst.h" diff --git a/Source/Common/ServerEnumerator/OpcSvLst.h b/Source/Common/ServerEnumerator/OpcSvLst.h index bcf8397..c66af0c 100644 --- a/Source/Common/ServerEnumerator/OpcSvLst.h +++ b/Source/Common/ServerEnumerator/OpcSvLst.h @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: OpcSvList.h -// -// CONTENTS: -// -// Implementation of the EnumClassesOfCategories methods. -// -// (c) Copyright 1998-2002 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/08/22 rsa Updated formatting. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef __OPCSERVERLIST_H_ #define __OPCSERVERLIST_H_ diff --git a/Source/Common/ServerEnumerator/StdAfx.cpp b/Source/Common/ServerEnumerator/StdAfx.cpp index 5dc243c..5f9a672 100644 --- a/Source/Common/ServerEnumerator/StdAfx.cpp +++ b/Source/Common/ServerEnumerator/StdAfx.cpp @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: StdAfx.cpp -// -// CONTENTS: -// -// The precompiled header implementation file. -// -// (c) Copyright 1998-2002 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/08/22 rsa Updated formatting. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "stdafx.h" diff --git a/Source/Common/ServerEnumerator/StdAfx.h b/Source/Common/ServerEnumerator/StdAfx.h index a3eb9b2..05bd3e4 100644 --- a/Source/Common/ServerEnumerator/StdAfx.h +++ b/Source/Common/ServerEnumerator/StdAfx.h @@ -1,26 +1,31 @@ -//============================================================================ -// TITLE: StdAfx.h -// -// CONTENTS: -// -// The precompiled header file. -// -// (c) Copyright 1998-2002 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/08/22 rsa Updated formatting. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #if !defined(AFX_STDAFX_H__13486D47_4821_11D2_A494_3CB306C10000__INCLUDED_) #define AFX_STDAFX_H__13486D47_4821_11D2_A494_3CB306C10000__INCLUDED_ diff --git a/Source/Common/ServerEnumerator/resource.h b/Source/Common/ServerEnumerator/resource.h index a113758..5591562 100644 --- a/Source/Common/ServerEnumerator/resource.h +++ b/Source/Common/ServerEnumerator/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by OpcEnum.rc diff --git a/Source/Common/TestClient/OpcTestClient.cpp b/Source/Common/TestClient/OpcTestClient.cpp index aef5c30..445cb50 100644 --- a/Source/Common/TestClient/OpcTestClient.cpp +++ b/Source/Common/TestClient/OpcTestClient.cpp @@ -1,22 +1,31 @@ -//============================================================================== -// TITLE: OpcTestClient.cpp -// -// CONTENTS: -// -// A minimal OPC DA 2.05a test client that enumerates OPC servers via OpcEnum -// and calls GetStatus on each one found. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #define WIN32_LEAN_AND_MEAN #include diff --git a/Source/Common/TestServer/COpcTestGroup.h b/Source/Common/TestServer/COpcTestGroup.h index 0489a96..9737c27 100644 --- a/Source/Common/TestServer/COpcTestGroup.h +++ b/Source/Common/TestServer/COpcTestGroup.h @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: COpcTestGroup.h -// -// CONTENTS: -// -// A group object for the OPC DA 2.05a Test Server. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/05/13 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcTestGroup_H_ #define _COpcTestGroup_H_ diff --git a/Source/Common/TestServer/COpcTestServer.cpp b/Source/Common/TestServer/COpcTestServer.cpp index b83752d..5e39bc1 100644 --- a/Source/Common/TestServer/COpcTestServer.cpp +++ b/Source/Common/TestServer/COpcTestServer.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcTestServer.cpp -// -// CONTENTS: -// -// Implements the OPC DA 2.05a Test Server and cache lifecycle. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcTestServer.h" diff --git a/Source/Common/TestServer/COpcTestServer.h b/Source/Common/TestServer/COpcTestServer.h index 54fc7bf..f3b7590 100644 --- a/Source/Common/TestServer/COpcTestServer.h +++ b/Source/Common/TestServer/COpcTestServer.h @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: COpcTestServer.h -// -// CONTENTS: -// -// A concrete instance of an OPC DA 2.05a Test Server object. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcTestServer_H_ #define _COpcTestServer_H_ diff --git a/Source/Common/TestServer/OpcTestServer.cpp b/Source/Common/TestServer/OpcTestServer.cpp index dcdd18b..dd4189d 100644 --- a/Source/Common/TestServer/OpcTestServer.cpp +++ b/Source/Common/TestServer/OpcTestServer.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcTestServer.cpp -// -// CONTENTS: -// -// Implements the required COM server functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcTestServer.h" diff --git a/Source/Common/TestServer/OpcTestServer.idl b/Source/Common/TestServer/OpcTestServer.idl index 457b64f..81716ac 100644 --- a/Source/Common/TestServer/OpcTestServer.idl +++ b/Source/Common/TestServer/OpcTestServer.idl @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: OpcTestServer.idl -// -// CONTENTS: -// -// The OPC DA 2.05a Test Server IDL file. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2025/01/01 OPC Test server for proxy/stub verification. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ import "opccomn.idl"; import "opcda.idl"; diff --git a/Source/Common/TestServer/StdAfx.cpp b/Source/Common/TestServer/StdAfx.cpp index a96479d..eb527dd 100644 --- a/Source/Common/TestServer/StdAfx.cpp +++ b/Source/Common/TestServer/StdAfx.cpp @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: StdAfx.cpp -// -// CONTENTS: -// -// This file includes StdAfx.h and is used to create the pre-compiled headers. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" diff --git a/Source/Common/TestServer/StdAfx.h b/Source/Common/TestServer/StdAfx.h index 0358a07..067e985 100644 --- a/Source/Common/TestServer/StdAfx.h +++ b/Source/Common/TestServer/StdAfx.h @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: StdAfx.h -// -// CONTENTS: -// -// This file standard precompiled include files. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/11/16 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _StdAfx_H #define _StdAfx_H diff --git a/Source/Common/TestServer/resource.h b/Source/Common/TestServer/resource.h index d74e882..82750be 100644 --- a/Source/Common/TestServer/resource.h +++ b/Source/Common/TestServer/resource.h @@ -1,8 +1,8 @@ /* ======================================================================== - * Copyright (c) 2005-2010 The OPC Foundation, Inc. All rights reserved. + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. * * OPC Foundation MIT License 1.00 - * + * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without @@ -11,7 +11,7 @@ * copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following * conditions: - * + * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, diff --git a/Source/DataAccess/ProxyStub/opcda.idl b/Source/DataAccess/ProxyStub/opcda.idl index fe590c3..42b95eb 100644 --- a/Source/DataAccess/ProxyStub/opcda.idl +++ b/Source/DataAccess/ProxyStub/opcda.idl @@ -1,58 +1,31 @@ -//============================================================================== -// TITLE: opcda.idl -// -// CONTENTS: -// -// Interface declarations for the OPC Data Access specifications. -// -// (c) Copyright 1997-2002 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 1997/05/12 ACC fixed UNCERTAIN bits, add AsyncIO2, OPCDataCallback, -// OPCItemProperties, BROWSE_TO -// -// 1998/06/19 ACC change V2 uuids prior to final release -// to avoid conflict with 'old' OPCDA Automation uuids -// Change name of 3 methods on AsyncIO2 to -// Cancel2,SetEnable,GetEnable to eliminate conflicts -// -// 2002/02/10 CRT Added IOPCItemDeadbandMgt Interface -// Added IOPCItemSamplingMgt Interface -// Added IOPCBrowse Interface -// Added IOPCServer2 Interface -// Added IOPCItemIO Interface -// Added new BAD Quality status mask -// -// 2002/08/09 CRT Added IOPCITEMVQTstructure -// Moved #defines to Library section and “typed” them -// Added definition for Category Ids -// -// 2002/08/21 RSA Added asynchrounous UUIDs. Fixed formatting. -// -// 2002/08/30 CRT Added IOPCSyncIO2::Read -// Added IOPCServer2::RemoveGroupEx -// -// 2002/09/20 CRT Added bit masks for Browse method -// -// 2002/10/03 CRT Added IOPCAsyncIO3 Interface -// Added IOPCGroupStateMgt2 Interface -// -// 2003/03/03 RSA Added fields to ensure natural byte alignment for new structures. -// 2003/10/12 RSA Added constants for complex data properties. -// 2004/09/01 RSA Renamed modules in TYPELIB section to avoid name conflicts. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ import "oaidl.idl"; import "ocidl.idl"; diff --git a/Source/DataAccess/ProxyStub/opcerror.h b/Source/DataAccess/ProxyStub/opcerror.h index 57f93b0..0a98146 100644 --- a/Source/DataAccess/ProxyStub/opcerror.h +++ b/Source/DataAccess/ProxyStub/opcerror.h @@ -1,32 +1,31 @@ -//============================================================================== -// TITLE: operror.h -// -// CONTENTS: -// -// Defines error codes for the Data Access specifications. -// -// (c) Copyright 1997-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 1997/05/12 ACC Removed Unused messages -// Added OPC_S_INUSE, OPC_E_INVALIDCONFIGFILE, OPC_E_NOTFOUND -// 1997/05/12 ACC Added OPC_E_INVALID_PID -// 2002/08/12 CRT Added new error codes for DA3.0 -// 2003/01/02 RSA Updated formatting. Added messages to proxy/stub resource block. -// 2003/10/12 RSA Added error codes for complex data. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef __OPCERROR_H #define __OPCERROR_H diff --git a/Source/DataAccess/ProxyStub/resource.h b/Source/DataAccess/ProxyStub/resource.h index 7264771..5e55d60 100644 --- a/Source/DataAccess/ProxyStub/resource.h +++ b/Source/DataAccess/ProxyStub/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by opcda_ps.rc diff --git a/Source/DataExchange/ProxyStub/OpcDx.idl b/Source/DataExchange/ProxyStub/OpcDx.idl index 1930cec..9d02e31 100644 --- a/Source/DataExchange/ProxyStub/OpcDx.idl +++ b/Source/DataExchange/ProxyStub/OpcDx.idl @@ -1,38 +1,31 @@ -//================================================================================ -// TITLE: OpcDx.idl -// -// CONTENTS: -// -// The OPC Data Exchange 1.00 IDL file. -// -// This IDL was derived from the XML service description defined in the -// specification. The mapping the XML service and the IDL elements is -// a direct as possible (i.e. XML data types map onto IDL structures, XML -// services map onto IDL interfaces/methods et. al.). However, there is no -// standard representation in IDL for 'missing' attributes (i.e. values that -// are not contained in the XML). The IDL defines bit masks for each optional -// field in a structure. Clients and servers must use these masks to test -// and/or indicate whether a given field contains a meaningful value. -// -// (c) Copyright 2002 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/09 RSA First release. -// 2003/03/03 RSA Added fields to ensure natural byte alignment for structures. -// 2004/09/01 RSA Renamed modules in TYPELIB section to avoid name conflicts. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ import "oaidl.idl"; import "ocidl.idl"; diff --git a/Source/DataExchange/ProxyStub/OpcDxError.h b/Source/DataExchange/ProxyStub/OpcDxError.h index 212b397..2ef3117 100644 --- a/Source/DataExchange/ProxyStub/OpcDxError.h +++ b/Source/DataExchange/ProxyStub/OpcDxError.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcDxError.h -// -// CONTENTS: -// -// Defines error codes for the OPC Data Exchange specification. -// -// (c) Copyright 2002 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/12/12 RSA Created. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _OpcDxError_H_ #define _OpcDxError_H_ @@ -229,7 +233,7 @@ // // MessageText: // -// The override value is outside of the target item’s range and overridden flag is set to true. +// The override value is outside of the target item�s range and overridden flag is set to true. // #define OPCDX_E_OVERRIDE_RANGE ((HRESULT)0xC0040711L) @@ -247,7 +251,7 @@ // // MessageText: // -// The substitute value is outside of the target item’s range the enable substitute value flag is set to true. +// The substitute value is outside of the target item�s range the enable substitute value flag is set to true. // #define OPCDX_E_SUBSTITUTE_RANGE ((HRESULT)0xC0040713L) @@ -265,7 +269,7 @@ // // MessageText: // -// The target item no longer exists in the DX server’s address space. +// The target item no longer exists in the DX server�s address space. // #define OPCDX_E_UNKNOWN_TARGET_ITEM ((HRESULT)0xC0040715L) @@ -292,7 +296,7 @@ // // MessageText: // -// The source item is no longer in the source server’s address space. +// The source item is no longer in the source server�s address space. // #define OPCDX_E_UNKNOWN_SOURCE_ITEM ((HRESULT)0xC0040718L) @@ -301,7 +305,7 @@ // // MessageText: // -// The source item does not confirm to the source server’s syntax. +// The source item does not confirm to the source server�s syntax. // #define OPCDX_E_INVALID_SOURCE_ITEM ((HRESULT)0xC0040719L) @@ -409,7 +413,7 @@ // // MessageText: // -// The source item cannot be converted to the target’s data type. This error reported by the source server. +// The source item cannot be converted to the target�s data type. This error reported by the source server. // #define OPCDX_E_SOURCE_ITEM_BADTYPE ((HRESULT)0xC0040725L) @@ -463,7 +467,7 @@ // // MessageText: // -// The target item cannot be converted to the target’s data type. +// The target item cannot be converted to the target�s data type. // #define OPCDX_E_TARGET_ITEM_BADTYPE ((HRESULT)0xC004072BL) diff --git a/Source/DataExchange/ProxyStub/resource.h b/Source/DataExchange/ProxyStub/resource.h index 12695a1..c567976 100644 --- a/Source/DataExchange/ProxyStub/resource.h +++ b/Source/DataExchange/ProxyStub/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by OpcDxPs.rc diff --git a/Source/HistoricalDataAccess/ProxyStub/OpcHda_Error.h b/Source/HistoricalDataAccess/ProxyStub/OpcHda_Error.h index 558c0d3..4a3f2a7 100644 --- a/Source/HistoricalDataAccess/ProxyStub/OpcHda_Error.h +++ b/Source/HistoricalDataAccess/ProxyStub/OpcHda_Error.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: OpcHda_Error.h -// -// CONTENTS: -// -// Defines error codes for the Historial Data Access specifications. -// -// (c) Copyright 2000-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2000/01/17 OPC Created. -// 2003/01/06 RSA Updated formatting. Added messages to proxy/stub resource block. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef __OPCHDAERROR_H #define __OPCHDAERROR_H diff --git a/Source/HistoricalDataAccess/ProxyStub/opchda.idl b/Source/HistoricalDataAccess/ProxyStub/opchda.idl index 83d0110..d69402b 100644 --- a/Source/HistoricalDataAccess/ProxyStub/opchda.idl +++ b/Source/HistoricalDataAccess/ProxyStub/opchda.idl @@ -1,29 +1,32 @@ -//============================================================================== -// TITLE: opchda.idl -// -// CONTENTS: -// -// Interface declarations for the OPC Historial Data Access specifications. -// -// (c) Copyright 1999-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2001/01/26 OPC Made revisions for version 1.1 -// 2003/01/06 RSA Fixed formatting to comply with coding guidelines. -// - +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + import "oaidl.idl"; //============================================================================== diff --git a/Source/HistoricalDataAccess/ProxyStub/resource.h b/Source/HistoricalDataAccess/ProxyStub/resource.h index 1c0d7be..23c88f8 100644 --- a/Source/HistoricalDataAccess/ProxyStub/resource.h +++ b/Source/HistoricalDataAccess/ProxyStub/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by opchda_ps.rc diff --git a/Source/Include/version.h b/Source/Include/version.h index 4d1433e..f4fc09c 100644 --- a/Source/Include/version.h +++ b/Source/Include/version.h @@ -1,11 +1,36 @@ -/* Auto-generated by build scripts. Do not edit manually. - This placeholder provides defaults for IDE/IntelliSense when - the build script has not yet been run. */ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #define xstr(s) str(s) #define str(s) #s -#define BUILD_VERSION 77 +#define BUILD_VERSION 78 #define COPYRIGHT_DATE "2026" #define FILE_VERSION_TEXT xstr(BUILD_VERSION) diff --git a/Source/Security/ProxyStub/OpcErrSec.h b/Source/Security/ProxyStub/OpcErrSec.h index 5020df1..23e4a4c 100644 --- a/Source/Security/ProxyStub/OpcErrSec.h +++ b/Source/Security/ProxyStub/OpcErrSec.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: OpcErrSec.h -// -// CONTENTS: -// -// Defines error codes for the Security specifications. -// -// (c) Copyright 2000-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2000/08/18 OPC Created. -// 2003/01/06 RSA Updated formatting. Added messages to proxy/stub resource block. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef __OPC_ERR_SEC_H #define __OPC_ERR_SEC_H diff --git a/Source/Security/ProxyStub/opcSec.idl b/Source/Security/ProxyStub/opcSec.idl index 7d272fb..847d4d2 100644 --- a/Source/Security/ProxyStub/opcSec.idl +++ b/Source/Security/ProxyStub/opcSec.idl @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: OpcSec.idl -// -// CONTENTS: -// -// Interface declarations for the OPC Security specifications. -// -// (c) Copyright 1999-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2000/08/03 DJ Finalized for spec release 1.00 -// 2003/01/06 RSA Fixed formatting to comply with coding guidelines. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ import "oaidl.idl"; diff --git a/Source/Security/ProxyStub/resource.h b/Source/Security/ProxyStub/resource.h index e21a49b..d541b17 100644 --- a/Source/Security/ProxyStub/resource.h +++ b/Source/Security/ProxyStub/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by opcsec_ps.rc diff --git a/Source/Shared/OpcUtilityClasses/COpcArray.h b/Source/Shared/OpcUtilityClasses/COpcArray.h index e7f9faf..0bcd739 100644 --- a/Source/Shared/OpcUtilityClasses/COpcArray.h +++ b/Source/Shared/OpcUtilityClasses/COpcArray.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcArray.h -// -// CONTENTS: -// -// A template indexable array class. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/03/22 RSA Added GetData() method. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcArray_H #define _COpcArray_H diff --git a/Source/Shared/OpcUtilityClasses/COpcBrowseElement.cpp b/Source/Shared/OpcUtilityClasses/COpcBrowseElement.cpp index 7d5d70e..0cc1d45 100644 --- a/Source/Shared/OpcUtilityClasses/COpcBrowseElement.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcBrowseElement.cpp @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcBrowseElement.cpp -// -// CONTENTS: -// -// A single element in the OPC server namespace. -// -// (c) Copyright 2002-2004 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/12/26 RSA Moved from a DA specific class library. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcBrowseElement.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcBrowseElement.h b/Source/Shared/OpcUtilityClasses/COpcBrowseElement.h index 2973510..86a88df 100644 --- a/Source/Shared/OpcUtilityClasses/COpcBrowseElement.h +++ b/Source/Shared/OpcUtilityClasses/COpcBrowseElement.h @@ -1,28 +1,31 @@ -//============================================================================ -// TITLE: COpcBrowseElement.h -// -// CONTENTS: -// -// A single element in the OPC server namespace. -// -// (c) Copyright 2002-2004 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2002/11/16 RSA Second release. -// 2003/12/26 RSA Moved from a DA specific class library. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcBrowseElement_H_ #define _COpcBrowseElement_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcCPContainer.cpp b/Source/Shared/OpcUtilityClasses/COpcCPContainer.cpp index 9c590fd..c5a4b20 100644 --- a/Source/Shared/OpcUtilityClasses/COpcCPContainer.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcCPContainer.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcCPContainer.cpp -// -// CONTENTS: -// -// A class that implements the IConnectionPointContainer interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcCPContainer.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcCPContainer.h b/Source/Shared/OpcUtilityClasses/COpcCPContainer.h index ab2117c..cb43ee1 100644 --- a/Source/Shared/OpcUtilityClasses/COpcCPContainer.h +++ b/Source/Shared/OpcUtilityClasses/COpcCPContainer.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcCPContainer.h -// -// CONTENTS: -// -// A class that implements the IConnectionPointContainer interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcCPContainer_H_ #define _COpcCPContainer_H_ @@ -100,4 +104,4 @@ class OPCUTILS_API COpcCPContainer : public IConnectionPointContainer COpcConnectionPointList m_cCPs; }; -#endif // _COpcCPContainer_H_ \ No newline at end of file +#endif // _COpcCPContainer_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcClassFactory.cpp b/Source/Shared/OpcUtilityClasses/COpcClassFactory.cpp index d0f61e2..bc97340 100644 --- a/Source/Shared/OpcUtilityClasses/COpcClassFactory.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcClassFactory.cpp @@ -1,27 +1,31 @@ -//============================================================================ -// TITLE: COpcClassFactory.cpp -// -// CONTENTS: -// -// Implements a standard COM class factory class. -// -// (c) Copyright 2002-2004 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2004/12/01 RSA Added calls to DCOM configuration APIs for WinXP SP2 or greater. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcClassFactory.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcClassFactory.h b/Source/Shared/OpcUtilityClasses/COpcClassFactory.h index 8a5a2fa..e090c2c 100644 --- a/Source/Shared/OpcUtilityClasses/COpcClassFactory.h +++ b/Source/Shared/OpcUtilityClasses/COpcClassFactory.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcClassFactory.h -// -// CONTENTS: -// -// Declares a standard COM class factory class. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcClassFactory_H #define _COpcClassFactory_H @@ -294,4 +298,4 @@ static const TOpcClassTableEntry g_pClassTable[] = { #define OPC_END_CLASS_TABLE() {&CLSID_NULL, NULL, NULL, NULL, NULL}}; -#endif // _COpcClassFactory_H \ No newline at end of file +#endif // _COpcClassFactory_H diff --git a/Source/Shared/OpcUtilityClasses/COpcComModule.cpp b/Source/Shared/OpcUtilityClasses/COpcComModule.cpp index 2d745ba..8550555 100644 --- a/Source/Shared/OpcUtilityClasses/COpcComModule.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcComModule.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcComModule.cpp -// -// CONTENTS: -// -// A class that handles initialization and registration of a COM module. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/09/29 RSA Removed a rundant call to Run() when running as a WIN32 service. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcComModule.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcComModule.h b/Source/Shared/OpcUtilityClasses/COpcComModule.h index c7bad83..8682980 100644 --- a/Source/Shared/OpcUtilityClasses/COpcComModule.h +++ b/Source/Shared/OpcUtilityClasses/COpcComModule.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcComModule.h -// -// CONTENTS: -// -// A class that manages startup and shutdown of a ComModule. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcComModule_H_ #define _COpcComModule_H_ @@ -337,4 +341,4 @@ struct OPCUTILS_API OpcVersionInfo OPCUTILS_API bool OpcGetModuleVersion(OpcVersionInfo& cInfo); -#endif // _COpcComModule_H_ \ No newline at end of file +#endif // _COpcComModule_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcComObject.h b/Source/Shared/OpcUtilityClasses/COpcComObject.h index 2646969..31acb02 100644 --- a/Source/Shared/OpcUtilityClasses/COpcComObject.h +++ b/Source/Shared/OpcUtilityClasses/COpcComObject.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcComObject.h -// -// CONTENTS: -// -// A base class for COM servers -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcComObject_H #define _COpcComObject_H @@ -246,4 +250,4 @@ STDMETHODIMP QueryInterface(REFIID iid, LPVOID* ppInterface) {return InternalQue STDMETHODIMP_(ULONG) AddRef() {return InternalAddRef();} \ STDMETHODIMP_(ULONG) Release() {return InternalRelease();} -#endif // _COpcComObject_H \ No newline at end of file +#endif // _COpcComObject_H diff --git a/Source/Shared/OpcUtilityClasses/COpcCommon.cpp b/Source/Shared/OpcUtilityClasses/COpcCommon.cpp index dcdcfc4..ea386d9 100644 --- a/Source/Shared/OpcUtilityClasses/COpcCommon.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcCommon.cpp @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcCommon.cpp -// -// CONTENTS: -// -// A class that implements the IOPCCommon interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/05/07 RSA Fixed problem with locale ids on non-english systems. -// 2003/06/25 RSA Fixed return value for invalid/unsupported locale ids. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcCommon.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcCommon.h b/Source/Shared/OpcUtilityClasses/COpcCommon.h index 135cc9b..50e686b 100644 --- a/Source/Shared/OpcUtilityClasses/COpcCommon.h +++ b/Source/Shared/OpcUtilityClasses/COpcCommon.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcCommon.h -// -// CONTENTS: -// -// A class that implements the IOPCCommon interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcCommon_H_ #define _COpcCommon_H_ @@ -164,4 +168,4 @@ class OPCUTILS_API COpcCommon : #define LOCALE_GERMAN_GERMANY MAKELCID(MAKELANGID(LANG_GERMAN, SUBLANG_DEFAULT), SORT_DEFAULT) #define LOCALE_JAPANESE_JAPAN MAKELCID(MAKELANGID(LANG_JAPANESE, SUBLANG_DEFAULT), SORT_DEFAULT) -#endif // _COpcCommon_H_ \ No newline at end of file +#endif // _COpcCommon_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcConnectionPoint.cpp b/Source/Shared/OpcUtilityClasses/COpcConnectionPoint.cpp index f021464..f40b64e 100644 --- a/Source/Shared/OpcUtilityClasses/COpcConnectionPoint.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcConnectionPoint.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcConnectionPoint.cpp -// -// CONTENTS: -// -// A class that implements the IConnectionPoint interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcConnectionPoint.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcConnectionPoint.h b/Source/Shared/OpcUtilityClasses/COpcConnectionPoint.h index 217f0ba..479dc46 100644 --- a/Source/Shared/OpcUtilityClasses/COpcConnectionPoint.h +++ b/Source/Shared/OpcUtilityClasses/COpcConnectionPoint.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcConnectionPoint.h -// -// CONTENTS: -// -// A class that implements the IConnectionPoint interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcConnectionPoint_H_ #define _COpcConnectionPoint_H_ @@ -133,4 +137,4 @@ OPCUTILS_API HRESULT OpcDisconnect( REFIID riid, DWORD dwConnection); -#endif // _COpcConnectionPoint_H_ \ No newline at end of file +#endif // _COpcConnectionPoint_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcCriticalSection.h b/Source/Shared/OpcUtilityClasses/COpcCriticalSection.h index ea60ef2..29575ef 100644 --- a/Source/Shared/OpcUtilityClasses/COpcCriticalSection.h +++ b/Source/Shared/OpcUtilityClasses/COpcCriticalSection.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcCriticalSection.h -// -// CONTENTS: -// -// A wrapper for a critical section. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcCriticalSection_H_ #define _COpcCriticalSection_H_ @@ -191,4 +195,4 @@ class COpcSynchObject COpcCriticalSection m_cLock; }; -#endif // _COpcCriticalSection_H_ \ No newline at end of file +#endif // _COpcCriticalSection_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcEnumCPs.cpp b/Source/Shared/OpcUtilityClasses/COpcEnumCPs.cpp index e410ab9..031b370 100644 --- a/Source/Shared/OpcUtilityClasses/COpcEnumCPs.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcEnumCPs.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcEnumCPs.cpp -// -// CONTENTS: -// -// A class that implements the IEnumConnectionPoints interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcEnumCPs.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcEnumCPs.h b/Source/Shared/OpcUtilityClasses/COpcEnumCPs.h index 4b85306..6887907 100644 --- a/Source/Shared/OpcUtilityClasses/COpcEnumCPs.h +++ b/Source/Shared/OpcUtilityClasses/COpcEnumCPs.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcEnumCPs.h -// -// CONTENTS: -// -// A class that implements the IEnumConnectionPoints interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcEnumCPs_H_ #define _COpcEnumCPs_H_ @@ -92,4 +96,4 @@ class OPCUTILS_API COpcEnumCPs COpcConnectionPointList m_cCPs; }; -#endif // _COpcEnumCPs_H_ \ No newline at end of file +#endif // _COpcEnumCPs_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcEnumString.cpp b/Source/Shared/OpcUtilityClasses/COpcEnumString.cpp index add8efc..eb517c2 100644 --- a/Source/Shared/OpcUtilityClasses/COpcEnumString.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcEnumString.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcEnumString.cpp -// -// CONTENTS: -// -// A class that implements the IEnumConnectionPoints interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcEnumString.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcEnumString.h b/Source/Shared/OpcUtilityClasses/COpcEnumString.h index 20dc478..3f705dc 100644 --- a/Source/Shared/OpcUtilityClasses/COpcEnumString.h +++ b/Source/Shared/OpcUtilityClasses/COpcEnumString.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcEnumStrings.h -// -// CONTENTS: -// -// A class that implements the IEnumConnectionPoints interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcEnumStrings_H_ #define _COpcEnumStrings_H_ @@ -93,4 +97,4 @@ class OPCUTILS_API COpcEnumString LPWSTR* m_pStrings; }; -#endif // _COpcEnumStrings_H_ \ No newline at end of file +#endif // _COpcEnumStrings_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcEnumUnknown.cpp b/Source/Shared/OpcUtilityClasses/COpcEnumUnknown.cpp index 362c9b9..6e87065 100644 --- a/Source/Shared/OpcUtilityClasses/COpcEnumUnknown.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcEnumUnknown.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcEnumUnknown.cpp -// -// CONTENTS: -// -// A class that implements the IEnumConnectionPoints interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcEnumUnknown.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcEnumUnknown.h b/Source/Shared/OpcUtilityClasses/COpcEnumUnknown.h index 3f6dad9..bf7a984 100644 --- a/Source/Shared/OpcUtilityClasses/COpcEnumUnknown.h +++ b/Source/Shared/OpcUtilityClasses/COpcEnumUnknown.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcEnumUnknown.h -// -// CONTENTS: -// -// A class that implements the IEnumConnectionPoints interface. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcEnumUnknowns_H_ #define _COpcEnumUnknowns_H_ @@ -94,4 +98,4 @@ class OPCUTILS_API COpcEnumUnknown IUnknown** m_pUnknowns; }; -#endif // _COpcEnumUnknowns_H_ \ No newline at end of file +#endif // _COpcEnumUnknowns_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcFile.cpp b/Source/Shared/OpcUtilityClasses/COpcFile.cpp index 2ff70ab..6fd5f22 100644 --- a/Source/Shared/OpcUtilityClasses/COpcFile.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcFile.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcFile.cpp -// -// CONTENTS: -// -// A class that provides basic file I/O functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcFile.h" @@ -236,4 +240,4 @@ BYTE* COpcFile::GetMemoryMapping() // return a pointer to the memory view of the file. return m_pView; -} \ No newline at end of file +} diff --git a/Source/Shared/OpcUtilityClasses/COpcFile.h b/Source/Shared/OpcUtilityClasses/COpcFile.h index 40223ec..8a840ea 100644 --- a/Source/Shared/OpcUtilityClasses/COpcFile.h +++ b/Source/Shared/OpcUtilityClasses/COpcFile.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcFile.h -// -// CONTENTS: -// -// A class that provides basic file I/O functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcFile_H_ #define _COpcFile_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcList.h b/Source/Shared/OpcUtilityClasses/COpcList.h index 2ecf321..dd1a3fe 100644 --- a/Source/Shared/OpcUtilityClasses/COpcList.h +++ b/Source/Shared/OpcUtilityClasses/COpcList.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcList.h -// -// CONTENTS: -// -// A template double linked list class. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcList_H_ #define _COpcList_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcMap.h b/Source/Shared/OpcUtilityClasses/COpcMap.h index 551a8c3..65260c2 100644 --- a/Source/Shared/OpcUtilityClasses/COpcMap.h +++ b/Source/Shared/OpcUtilityClasses/COpcMap.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcMap.h -// -// CONTENTS: -// -// A template double linked list class. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcMap_H_ #define _COpcMap_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcSecurity.cpp b/Source/Shared/OpcUtilityClasses/COpcSecurity.cpp index 8345d62..b565419 100644 --- a/Source/Shared/OpcUtilityClasses/COpcSecurity.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcSecurity.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcSecurity.cpp -// -// CONTENTS: -// -// A class tha encapsulates details of security implementations. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcSecurity.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcSecurity.h b/Source/Shared/OpcUtilityClasses/COpcSecurity.h index 304c920..20e086a 100644 --- a/Source/Shared/OpcUtilityClasses/COpcSecurity.h +++ b/Source/Shared/OpcUtilityClasses/COpcSecurity.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcSecurity.h -// -// CONTENTS: -// -// A class tha encapsulates details of security implementations. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcSecurity_H_ #define _COpcSecurity_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcSortedArray.h b/Source/Shared/OpcUtilityClasses/COpcSortedArray.h index 9efbccc..1c029b4 100644 --- a/Source/Shared/OpcUtilityClasses/COpcSortedArray.h +++ b/Source/Shared/OpcUtilityClasses/COpcSortedArray.h @@ -1,26 +1,31 @@ -//============================================================================== -// TITLE: COpcSortedArray.h -// -// CONTENTS: -// -// A template indexable array class that is sorted on a key. -// -// (c) Copyright 2004 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2004/01/23 RSA Initial implementation. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcSortedArray_H #define _COpcSortedArray_H diff --git a/Source/Shared/OpcUtilityClasses/COpcString.cpp b/Source/Shared/OpcUtilityClasses/COpcString.cpp index 4e9bb00..ec5288a 100644 --- a/Source/Shared/OpcUtilityClasses/COpcString.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcString.cpp @@ -1,29 +1,31 @@ -//============================================================================== -// TITLE: OpcAlloc.cpp -// -// CONTENTS: -// -// Implementations of memory allocation functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/03/23 RSA Added support for UTF-8 character set. -// 2003/05/07 RSA Fixed bug in ReverseFind(). -// 2003/06/25 RSA Fixed memory problems. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcString.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcString.h b/Source/Shared/OpcUtilityClasses/COpcString.h index 1fc56c7..1872893 100644 --- a/Source/Shared/OpcUtilityClasses/COpcString.h +++ b/Source/Shared/OpcUtilityClasses/COpcString.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcString.h -// -// CONTENTS: -// -// A simple string class. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/03/23 RSA Added support for UTF-8 character set. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcString_H_ #define _COpcString_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcText.cpp b/Source/Shared/OpcUtilityClasses/COpcText.cpp index 2c1ff8c..260d9e5 100644 --- a/Source/Shared/OpcUtilityClasses/COpcText.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcText.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcText.cpp -// -// CONTENTS: -// -// A class that defines a text element to read from text buffer. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcText.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcText.h b/Source/Shared/OpcUtilityClasses/COpcText.h index b359d80..bcb5bf5 100644 --- a/Source/Shared/OpcUtilityClasses/COpcText.h +++ b/Source/Shared/OpcUtilityClasses/COpcText.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcText.h -// -// CONTENTS: -// -// A class that defines a text element to read from text buffer. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcText_H #define _COpcText_H diff --git a/Source/Shared/OpcUtilityClasses/COpcTextReader.cpp b/Source/Shared/OpcUtilityClasses/COpcTextReader.cpp index f0ab8d1..d510924 100644 --- a/Source/Shared/OpcUtilityClasses/COpcTextReader.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcTextReader.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcTextReader.cpp -// -// CONTENTS: -// -// A class that parses a stream of text. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcTextReader.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcTextReader.h b/Source/Shared/OpcUtilityClasses/COpcTextReader.h index 1a6474e..c8e9f7f 100644 --- a/Source/Shared/OpcUtilityClasses/COpcTextReader.h +++ b/Source/Shared/OpcUtilityClasses/COpcTextReader.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcTextReader.h -// -// CONTENTS: -// -// A class that parses a stream of text. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcTextReader_H #define _COpcTextReader_H diff --git a/Source/Shared/OpcUtilityClasses/COpcThread.cpp b/Source/Shared/OpcUtilityClasses/COpcThread.cpp index 5dbe84d..c8de507 100644 --- a/Source/Shared/OpcUtilityClasses/COpcThread.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcThread.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcThread.cpp -// -// CONTENTS: -// -// A class that manages startup and shutdown of a thread. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcThread.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcThread.h b/Source/Shared/OpcUtilityClasses/COpcThread.h index a11e6d3..dc5c653 100644 --- a/Source/Shared/OpcUtilityClasses/COpcThread.h +++ b/Source/Shared/OpcUtilityClasses/COpcThread.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcThread.h -// -// CONTENTS: -// -// A class that manages startup and shutdown of a thread. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcThread_H_ #define _COpcThread_H_ @@ -95,4 +99,4 @@ class OPCUTILS_API COpcThread void* m_pData; }; -#endif // _COpcThread_H_ \ No newline at end of file +#endif // _COpcThread_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcThreadPool.cpp b/Source/Shared/OpcUtilityClasses/COpcThreadPool.cpp index 08f1d2a..43627ae 100644 --- a/Source/Shared/OpcUtilityClasses/COpcThreadPool.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcThreadPool.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcThreadPool.cpp -// -// CONTENTS: -// -// Manages a pool of threads that process queued messages. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/12/02 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcThreadPool.h" @@ -251,4 +255,4 @@ void COpcThreadPool::SetSize(UINT uMinThreads, UINT uMaxThreads) m_uMinThreads = uMinThreads; m_uMaxThreads = uMaxThreads; -} \ No newline at end of file +} diff --git a/Source/Shared/OpcUtilityClasses/COpcThreadPool.h b/Source/Shared/OpcUtilityClasses/COpcThreadPool.h index d313f1d..7fd294a 100644 --- a/Source/Shared/OpcUtilityClasses/COpcThreadPool.h +++ b/Source/Shared/OpcUtilityClasses/COpcThreadPool.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcThreadPool.h -// -// CONTENTS: -// -// Manages a pool of threads that process queued messages. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/12/02 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcThreadPool_H_ #define _COpcThreadPool_H_ @@ -147,4 +151,4 @@ class OPCUTILS_API COpcThreadPool : public COpcSynchObject UINT m_uMaxThreads; }; -#endif // _COpcThreadPool_H_ \ No newline at end of file +#endif // _COpcThreadPool_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcVariant.cpp b/Source/Shared/OpcUtilityClasses/COpcVariant.cpp index df8e174..000d7ae 100644 --- a/Source/Shared/OpcUtilityClasses/COpcVariant.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcVariant.cpp @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcXmlVariant.cpp -// -// CONTENTS: -// -// A class that wraps a VARIANT structure. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/03/22 RSA Added additional overloads for OpcWriteVariant(). -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcVariant.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcVariant.h b/Source/Shared/OpcUtilityClasses/COpcVariant.h index 771f5b4..f57b84d 100644 --- a/Source/Shared/OpcUtilityClasses/COpcVariant.h +++ b/Source/Shared/OpcUtilityClasses/COpcVariant.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcVariant.h -// -// CONTENTS: -// -// A class that wraps a VARIANT structure. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/03/22 RSA Added additional overloads for OpcWriteVariant(). -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcVariant_H_ #define _COpcVariant_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcXmlAnyType.cpp b/Source/Shared/OpcUtilityClasses/COpcXmlAnyType.cpp index 08f3f79..c1e0f6f 100644 --- a/Source/Shared/OpcUtilityClasses/COpcXmlAnyType.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcXmlAnyType.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcXmlAnyType.cpp -// -// CONTENTS: -// -// A class that contains an arbitrary value (simple or complex). -// -// (c) Copyright 2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/09/13 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcXmlAnyType.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcXmlAnyType.h b/Source/Shared/OpcUtilityClasses/COpcXmlAnyType.h index b24c8ef..0d6adb1 100644 --- a/Source/Shared/OpcUtilityClasses/COpcXmlAnyType.h +++ b/Source/Shared/OpcUtilityClasses/COpcXmlAnyType.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcXmlAnyType.h -// -// CONTENTS: -// -// A class that contains an arbitrary value (simple or complex). -// -// (c) Copyright 2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/09/13 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcXmlAnyType_H_ #define _COpcXmlAnyType_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcXmlAttribute.cpp b/Source/Shared/OpcUtilityClasses/COpcXmlAttribute.cpp index e8b9243..8a98c1b 100644 --- a/Source/Shared/OpcUtilityClasses/COpcXmlAttribute.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcXmlAttribute.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcXmlAttribute.cpp -// -// CONTENTS: -// -// A class that represents an XML attribute. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcXmlAttribute.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcXmlAttribute.h b/Source/Shared/OpcUtilityClasses/COpcXmlAttribute.h index 4135796..51f101c 100644 --- a/Source/Shared/OpcUtilityClasses/COpcXmlAttribute.h +++ b/Source/Shared/OpcUtilityClasses/COpcXmlAttribute.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcXmlAttribute.h -// -// CONTENTS: -// -// A class that represents an XML attribute. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcXmlAttribute_H_ #define _COpcXmlAttribute_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcXmlDocument.cpp b/Source/Shared/OpcUtilityClasses/COpcXmlDocument.cpp index 2476d12..252ad8e 100644 --- a/Source/Shared/OpcUtilityClasses/COpcXmlDocument.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcXmlDocument.cpp @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcXmlDocument.cpp -// -// CONTENTS: -// -// A class thatstrings to and from xml data types. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/03/23 RSA Added XPath based search capabilities. -// 2003/06/25 RSA Fixed memory problems. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcXmlDocument.h" diff --git a/Source/Shared/OpcUtilityClasses/COpcXmlDocument.h b/Source/Shared/OpcUtilityClasses/COpcXmlDocument.h index 492359f..49c56ae 100644 --- a/Source/Shared/OpcUtilityClasses/COpcXmlDocument.h +++ b/Source/Shared/OpcUtilityClasses/COpcXmlDocument.h @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcXmlDocument.h -// -// CONTENTS: -// -// A class thatstrings to and from xml data types. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/03/23 RSA Added XPath based search capabilities. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcXmlDocument_H_ #define _COpcXmlDocument_H_ diff --git a/Source/Shared/OpcUtilityClasses/COpcXmlElement.cpp b/Source/Shared/OpcUtilityClasses/COpcXmlElement.cpp index 9933703..b37a000 100644 --- a/Source/Shared/OpcUtilityClasses/COpcXmlElement.cpp +++ b/Source/Shared/OpcUtilityClasses/COpcXmlElement.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcXmlElement.cpp -// -// CONTENTS: -// -// A class that facilitiates manipulation of XML Elements, -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/06/25 RSA Fixed memory problems. +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "COpcXmlElement.h" @@ -1342,4 +1346,4 @@ void COpcXmlElement::SetType(OpcXml::QName cType) // update the type attribute. SetAttribute(cFullName, cTypeName); -} \ No newline at end of file +} diff --git a/Source/Shared/OpcUtilityClasses/COpcXmlElement.h b/Source/Shared/OpcUtilityClasses/COpcXmlElement.h index cc887e1..320ccc9 100644 --- a/Source/Shared/OpcUtilityClasses/COpcXmlElement.h +++ b/Source/Shared/OpcUtilityClasses/COpcXmlElement.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: COpcXmlElement.h -// -// CONTENTS: -// -// A class that facilitiates manipulation of XML Elements, -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _COpcXmlElement_H_ #define _COpcXmlElement_H_ diff --git a/Source/Shared/OpcUtilityClasses/OpcCategory.cpp b/Source/Shared/OpcUtilityClasses/OpcCategory.cpp index 8d51d82..eb8591a 100644 --- a/Source/Shared/OpcUtilityClasses/OpcCategory.cpp +++ b/Source/Shared/OpcUtilityClasses/OpcCategory.cpp @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: COpcEnumServers.cpp -// -// CONTENTS: -// -// A class that allows browsing of COM servers by category. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/05/07 RSA Added support for the OPC subkey used by DA1.0 and DA2.0 servers. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "OpcCategory.h" diff --git a/Source/Shared/OpcUtilityClasses/OpcCategory.h b/Source/Shared/OpcUtilityClasses/OpcCategory.h index 2e779e9..9283abd 100644 --- a/Source/Shared/OpcUtilityClasses/OpcCategory.h +++ b/Source/Shared/OpcUtilityClasses/OpcCategory.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcCategory.h -// -// CONTENTS: -// -// Functions that register and lookup component categories. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _OpcCategory_H_ #define _OpcCategory_H_ @@ -85,4 +89,4 @@ struct TClassCategories #define OPC_END_CATEGORY_TABLE() {NULL, NULL, NULL}}; -#endif // _OpcCategory_H_ \ No newline at end of file +#endif // _OpcCategory_H_ diff --git a/Source/Shared/OpcUtilityClasses/OpcDefs.h b/Source/Shared/OpcUtilityClasses/OpcDefs.h index 457521f..582c91e 100644 --- a/Source/Shared/OpcUtilityClasses/OpcDefs.h +++ b/Source/Shared/OpcUtilityClasses/OpcDefs.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcUtils.h -// -// CONTENTS: -// -// Main header for OPC Common library. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _OpcDefs_H_ #define _OpcDefs_H_ diff --git a/Source/Shared/OpcUtilityClasses/OpcMatch.cpp b/Source/Shared/OpcUtilityClasses/OpcMatch.cpp index d9b6322..237f7cf 100644 --- a/Source/Shared/OpcUtilityClasses/OpcMatch.cpp +++ b/Source/Shared/OpcUtilityClasses/OpcMatch.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcMatch.cpp -// -// CONTENTS: -// -// Implements the pattern matching function defined in the OPC Common specification. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/01/31 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "OpcMatch.h" diff --git a/Source/Shared/OpcUtilityClasses/OpcMatch.h b/Source/Shared/OpcUtilityClasses/OpcMatch.h index 4ecb55e..08b0590 100644 --- a/Source/Shared/OpcUtilityClasses/OpcMatch.h +++ b/Source/Shared/OpcUtilityClasses/OpcMatch.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcMatch.h -// -// CONTENTS: -// -// Declares the pattern matching function defined in the OPC Common specification. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2003/01/31 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _OpcMatch_H_ #define _OpcMatch_H_ @@ -102,4 +106,4 @@ OPCUTILS_API bool OpcMatchPattern( bool bCaseSensitive = false ); -#endif // _OpcMatch_H_ \ No newline at end of file +#endif // _OpcMatch_H_ diff --git a/Source/Shared/OpcUtilityClasses/OpcRegistry.cpp b/Source/Shared/OpcUtilityClasses/OpcRegistry.cpp index 9705e8b..a1b3f86 100644 --- a/Source/Shared/OpcUtilityClasses/OpcRegistry.cpp +++ b/Source/Shared/OpcUtilityClasses/OpcRegistry.cpp @@ -1,28 +1,31 @@ -//============================================================================== -// TITLE: OpcRegistry.cpp -// -// CONTENTS: -// -// Implementations for registry access functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// 2003/05/07 RSA Fixed bug in OpcRegDeleteKey(). -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "OpcRegistry.h" diff --git a/Source/Shared/OpcUtilityClasses/OpcRegistry.h b/Source/Shared/OpcUtilityClasses/OpcRegistry.h index 6653eb8..9b1be4c 100644 --- a/Source/Shared/OpcUtilityClasses/OpcRegistry.h +++ b/Source/Shared/OpcUtilityClasses/OpcRegistry.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcRegistry.h -// -// CONTENTS: -// -// Declarations for registry access functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _OpcRegistry_H_ #define _OpcRegistry_H_ diff --git a/Source/Shared/OpcUtilityClasses/OpcUtils.cpp b/Source/Shared/OpcUtilityClasses/OpcUtils.cpp index a807be4..69142ff 100644 --- a/Source/Shared/OpcUtilityClasses/OpcUtils.cpp +++ b/Source/Shared/OpcUtilityClasses/OpcUtils.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcUtils.cpp -// -// CONTENTS: -// -// Implementations of memory allocation functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" #include "OpcDefs.h" diff --git a/Source/Shared/OpcUtilityClasses/OpcUtils.h b/Source/Shared/OpcUtilityClasses/OpcUtils.h index 2aee0e5..b13d427 100644 --- a/Source/Shared/OpcUtilityClasses/OpcUtils.h +++ b/Source/Shared/OpcUtilityClasses/OpcUtils.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcUtils.h -// -// CONTENTS: -// -// Main header for OPC Common library. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _OpcUtils_H_ #define _OpcUtils_H_ diff --git a/Source/Shared/OpcUtilityClasses/OpcXmlType.cpp b/Source/Shared/OpcUtilityClasses/OpcXmlType.cpp index 441edcb..2a1d9db 100644 --- a/Source/Shared/OpcUtilityClasses/OpcXmlType.cpp +++ b/Source/Shared/OpcUtilityClasses/OpcXmlType.cpp @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcXmlType.cpp -// -// CONTENTS: -// -// Declarations for common XML constants, types and free functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" @@ -1057,4 +1061,4 @@ template<> bool OpcXml::Write(const GUID& cValue, COpcString& cText) { cText.FromGuid(cValue); return true; -} \ No newline at end of file +} diff --git a/Source/Shared/OpcUtilityClasses/OpcXmlType.h b/Source/Shared/OpcUtilityClasses/OpcXmlType.h index 2e44d8a..f3ec0c4 100644 --- a/Source/Shared/OpcUtilityClasses/OpcXmlType.h +++ b/Source/Shared/OpcUtilityClasses/OpcXmlType.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: OpcXmlType.h -// -// CONTENTS: -// -// Declarations for common XML constants, types and free functions. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _OpcXmlType_H_ #define _OpcXmlType_H_ diff --git a/Source/Shared/OpcUtilityClasses/StdAfx.cpp b/Source/Shared/OpcUtilityClasses/StdAfx.cpp index c4f72ec..bcc9e02 100644 --- a/Source/Shared/OpcUtilityClasses/StdAfx.cpp +++ b/Source/Shared/OpcUtilityClasses/StdAfx.cpp @@ -1,28 +1,32 @@ -//============================================================================== -// TITLE: StdAfx.cpp -// -// CONTENTS: -// -// This file includes StdAfx.h and is used to create the pre-compiled headers. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #include "StdAfx.h" -#include "opccomn_i.c" \ No newline at end of file +#include "opccomn_i.c" diff --git a/Source/Shared/OpcUtilityClasses/StdAfx.h b/Source/Shared/OpcUtilityClasses/StdAfx.h index 07e2f94..8340188 100644 --- a/Source/Shared/OpcUtilityClasses/StdAfx.h +++ b/Source/Shared/OpcUtilityClasses/StdAfx.h @@ -1,27 +1,31 @@ -//============================================================================== -// TITLE: StdAfx.h -// -// CONTENTS: -// -// This file standard precompiled include files. -// -// (c) Copyright 2002-2003 The OPC Foundation -// ALL RIGHTS RESERVED. -// -// DISCLAIMER: -// This code is provided by the OPC Foundation solely to assist in -// understanding and use of the appropriate OPC Specification(s) and may be -// used as set forth in the License Grant section of the OPC Specification. -// This code is provided as-is and without warranty or support of any sort -// and is subject to the Warranty and Liability Disclaimers which appear -// in the printed OPC Specification. -// -// MODIFICATION LOG: -// -// Date By Notes -// ---------- --- ----- -// 2002/09/03 RSA First release. -// +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ #ifndef _StdAfx_H #define _StdAfx_H diff --git a/Source/Shared/OpcUtilityClasses/resource.h b/Source/Shared/OpcUtilityClasses/resource.h index 74b9f51..11cb790 100644 --- a/Source/Shared/OpcUtilityClasses/resource.h +++ b/Source/Shared/OpcUtilityClasses/resource.h @@ -1,3 +1,32 @@ +/* ======================================================================== + * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. + * + * OPC Foundation MIT License 1.00 + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + * + * The complete license agreement can be found here: + * http://opcfoundation.org/License/MIT/1.00/ + * ======================================================================*/ + //{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by OpcUtils.rc diff --git a/build.txt b/build.txt index 780fea9..efee1f8 100644 --- a/build.txt +++ b/build.txt @@ -1 +1 @@ -77 \ No newline at end of file +78 \ No newline at end of file From e3633f590d783ee02bbd8e826d4bcc932d4d6702 Mon Sep 17 00:00:00 2001 From: Randy Armstrong Date: Sat, 14 Feb 2026 12:59:28 -0800 Subject: [PATCH 2/3] Move files. --- CMakeLists.txt | 10 +++--- Source/Include/version.h | 33 +++--------------- .../SampleDevice/COpcDaDevice.cpp | 0 .../SampleDevice/COpcDaDevice.h | 0 .../SampleDevice/COpcDaDeviceItem.cpp | 0 .../SampleDevice/COpcDaDeviceItem.h | 0 .../SampleDevice/OPC DA Sample Device.vcproj | 0 .../SampleDevice/StdAfx.cpp | 0 .../{Common => Shared}/SampleDevice/StdAfx.h | 0 .../SampleServer205/COpcDa20Cache.cpp | 0 .../SampleServer205/COpcDa20Cache.h | 0 .../SampleServer205/COpcDa20Group.h | 0 .../SampleServer205/COpcDa20Server.cpp | 0 .../SampleServer205/COpcDa20Server.h | 0 .../OPC DA 2.05 Sample Server.vcproj | 0 .../SampleServer205/OpcDa20Server.binary.xml | 0 .../SampleServer205/OpcDa20Server.config.xml | 0 .../SampleServer205/OpcDa20Server.cpp | 0 .../SampleServer205/OpcDa20Server.ico | Bin .../SampleServer205/OpcDa20Server.idl | 0 .../SampleServer205/OpcDa20Server.rc | 0 .../SampleServer205/StdAfx.cpp | 0 .../SampleServer205/StdAfx.h | 0 .../SampleServer205/build.timestamp | 0 .../SampleServer205/resource.h | 0 .../SampleServerClasses/COpcBinary.cpp | 0 .../SampleServerClasses/COpcBinary.h | 0 .../SampleServerClasses/COpcBinaryReader.cpp | 0 .../SampleServerClasses/COpcBinaryReader.h | 0 .../SampleServerClasses/COpcBinaryStream.cpp | 0 .../SampleServerClasses/COpcBinaryStream.h | 0 .../SampleServerClasses/COpcBinaryWriter.cpp | 0 .../SampleServerClasses/COpcBinaryWriter.h | 0 .../COpcDaBrowseElement.cpp | 0 .../SampleServerClasses/COpcDaBrowseElement.h | 0 .../SampleServerClasses/COpcDaBuffer.h | 0 .../SampleServerClasses/COpcDaCache.cpp | 0 .../SampleServerClasses/COpcDaCache.h | 0 .../SampleServerClasses/COpcDaCacheItem.cpp | 0 .../SampleServerClasses/COpcDaCacheItem.h | 0 .../SampleServerClasses/COpcDaEnumGroup.h | 0 .../SampleServerClasses/COpcDaEnumItem.cpp | 0 .../SampleServerClasses/COpcDaEnumItem.h | 0 .../SampleServerClasses/COpcDaGroup.cpp | 0 .../SampleServerClasses/COpcDaGroup.h | 0 .../SampleServerClasses/COpcDaGroupItem.cpp | 0 .../SampleServerClasses/COpcDaGroupItem.h | 0 .../SampleServerClasses/COpcDaProperty.cpp | 0 .../SampleServerClasses/COpcDaProperty.h | 0 .../SampleServerClasses/COpcDaServer.cpp | 0 .../SampleServerClasses/COpcDaServer.h | 0 .../SampleServerClasses/COpcDaTransaction.cpp | 0 .../SampleServerClasses/COpcDaTransaction.h | 0 .../COpcDaTypeDictionary.cpp | 0 .../COpcDaTypeDictionary.h | 0 .../COpcDaUpdateThread.cpp | 0 .../SampleServerClasses/COpcDaUpdateThread.h | 0 .../SampleServerClasses/COpcDaWriteThread.cpp | 0 .../SampleServerClasses/COpcDaWriteThread.h | 0 .../SampleServerClasses/IOpcDaDevice.h | 0 .../OPC DA Sample Server Classes.vcproj | 0 .../SampleServerClasses/OpcDaHelpers.cpp | 0 .../SampleServerClasses/OpcDaHelpers.h | 0 .../SampleServerClasses/StdAfx.cpp | 0 .../SampleServerClasses/StdAfx.h | 0 .../SampleServerClasses/resource.h | 0 .../TestClient/OpcTestClient.cpp | 0 .../TestServer/COpcTestGroup.h | 0 .../TestServer/COpcTestServer.cpp | 0 .../TestServer/COpcTestServer.h | 0 .../TestServer/OpcTestServer.config.xml | 0 .../TestServer/OpcTestServer.cpp | 0 .../TestServer/OpcTestServer.ico | Bin .../TestServer/OpcTestServer.idl | 0 .../TestServer/OpcTestServer.rc | 0 Source/{Common => Test}/TestServer/StdAfx.cpp | 0 Source/{Common => Test}/TestServer/StdAfx.h | 0 Source/{Common => Test}/TestServer/resource.h | 0 build.txt | 2 +- 79 files changed, 10 insertions(+), 35 deletions(-) rename Source/{Common => Shared}/SampleDevice/COpcDaDevice.cpp (100%) rename Source/{Common => Shared}/SampleDevice/COpcDaDevice.h (100%) rename Source/{Common => Shared}/SampleDevice/COpcDaDeviceItem.cpp (100%) rename Source/{Common => Shared}/SampleDevice/COpcDaDeviceItem.h (100%) rename Source/{Common => Shared}/SampleDevice/OPC DA Sample Device.vcproj (100%) rename Source/{Common => Shared}/SampleDevice/StdAfx.cpp (100%) rename Source/{Common => Shared}/SampleDevice/StdAfx.h (100%) rename Source/{Common => Shared}/SampleServer205/COpcDa20Cache.cpp (100%) rename Source/{Common => Shared}/SampleServer205/COpcDa20Cache.h (100%) rename Source/{Common => Shared}/SampleServer205/COpcDa20Group.h (100%) rename Source/{Common => Shared}/SampleServer205/COpcDa20Server.cpp (100%) rename Source/{Common => Shared}/SampleServer205/COpcDa20Server.h (100%) rename Source/{Common => Shared}/SampleServer205/OPC DA 2.05 Sample Server.vcproj (100%) rename Source/{Common => Shared}/SampleServer205/OpcDa20Server.binary.xml (100%) rename Source/{Common => Shared}/SampleServer205/OpcDa20Server.config.xml (100%) rename Source/{Common => Shared}/SampleServer205/OpcDa20Server.cpp (100%) rename Source/{Common => Shared}/SampleServer205/OpcDa20Server.ico (100%) rename Source/{Common => Shared}/SampleServer205/OpcDa20Server.idl (100%) rename Source/{Common => Shared}/SampleServer205/OpcDa20Server.rc (100%) rename Source/{Common => Shared}/SampleServer205/StdAfx.cpp (100%) rename Source/{Common => Shared}/SampleServer205/StdAfx.h (100%) rename Source/{Common => Shared}/SampleServer205/build.timestamp (100%) rename Source/{Common => Shared}/SampleServer205/resource.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcBinary.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcBinary.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcBinaryReader.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcBinaryReader.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcBinaryStream.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcBinaryStream.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcBinaryWriter.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcBinaryWriter.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaBrowseElement.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaBrowseElement.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaBuffer.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaCache.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaCache.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaCacheItem.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaCacheItem.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaEnumGroup.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaEnumItem.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaEnumItem.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaGroup.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaGroup.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaGroupItem.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaGroupItem.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaProperty.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaProperty.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaServer.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaServer.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaTransaction.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaTransaction.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaTypeDictionary.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaTypeDictionary.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaUpdateThread.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaUpdateThread.h (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaWriteThread.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/COpcDaWriteThread.h (100%) rename Source/{Common => Shared}/SampleServerClasses/IOpcDaDevice.h (100%) rename Source/{Common => Shared}/SampleServerClasses/OPC DA Sample Server Classes.vcproj (100%) rename Source/{Common => Shared}/SampleServerClasses/OpcDaHelpers.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/OpcDaHelpers.h (100%) rename Source/{Common => Shared}/SampleServerClasses/StdAfx.cpp (100%) rename Source/{Common => Shared}/SampleServerClasses/StdAfx.h (100%) rename Source/{Common => Shared}/SampleServerClasses/resource.h (100%) rename Source/{Common => Test}/TestClient/OpcTestClient.cpp (100%) rename Source/{Common => Test}/TestServer/COpcTestGroup.h (100%) rename Source/{Common => Test}/TestServer/COpcTestServer.cpp (100%) rename Source/{Common => Test}/TestServer/COpcTestServer.h (100%) rename Source/{Common => Test}/TestServer/OpcTestServer.config.xml (100%) rename Source/{Common => Test}/TestServer/OpcTestServer.cpp (100%) rename Source/{Common => Test}/TestServer/OpcTestServer.ico (100%) rename Source/{Common => Test}/TestServer/OpcTestServer.idl (100%) rename Source/{Common => Test}/TestServer/OpcTestServer.rc (100%) rename Source/{Common => Test}/TestServer/StdAfx.cpp (100%) rename Source/{Common => Test}/TestServer/StdAfx.h (100%) rename Source/{Common => Test}/TestServer/resource.h (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 69ce8da..bfceb51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -312,12 +312,12 @@ endif() # x64 only # Output: OpcTestServer_x86.exe or OpcTestServer_x64.exe # ============================================================================ -set(TESTSVR_SRC_DIR "${CMAKE_SOURCE_DIR}/Source/Common/TestServer") +set(TESTSVR_SRC_DIR "${CMAKE_SOURCE_DIR}/Source/Test/TestServer") set(TESTSVR_BIN_DIR "${CMAKE_CURRENT_BINARY_DIR}/OpcTestServer") set(OPC_UTILS_DIR "${CMAKE_SOURCE_DIR}/Source/Shared/OpcUtilityClasses") -set(SAMPLE_SVR_DIR "${CMAKE_SOURCE_DIR}/Source/Common/SampleServerClasses") -set(SAMPLE_DEV_DIR "${CMAKE_SOURCE_DIR}/Source/Common/SampleDevice") -set(SAMPLE_205_DIR "${CMAKE_SOURCE_DIR}/Source/Common/SampleServer205") +set(SAMPLE_SVR_DIR "${CMAKE_SOURCE_DIR}/Source/Shared/SampleServerClasses") +set(SAMPLE_DEV_DIR "${CMAKE_SOURCE_DIR}/Source/Shared/SampleDevice") +set(SAMPLE_205_DIR "${CMAKE_SOURCE_DIR}/Source/Shared/SampleServer205") file(MAKE_DIRECTORY "${TESTSVR_BIN_DIR}") # Determine platform tag and MIDL environment @@ -446,7 +446,7 @@ install(FILES "${TESTSVR_SRC_DIR}/OpcTestServer.config.xml" # ============================================================================ add_executable(OpcTestClient - "${CMAKE_SOURCE_DIR}/Source/Common/TestClient/OpcTestClient.cpp" + "${CMAKE_SOURCE_DIR}/Source/Test/TestClient/OpcTestClient.cpp" ) add_dependencies(OpcTestClient opccomn_ps_generate opcproxy_generate) diff --git a/Source/Include/version.h b/Source/Include/version.h index f4fc09c..46ce5a3 100644 --- a/Source/Include/version.h +++ b/Source/Include/version.h @@ -1,36 +1,11 @@ -/* ======================================================================== - * Copyright (c) 2002-2026 OPC Foundation. All rights reserved. - * - * OPC Foundation MIT License 1.00 - * - * Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. - * - * The complete license agreement can be found here: - * http://opcfoundation.org/License/MIT/1.00/ - * ======================================================================*/ +/* Auto-generated by build scripts. Do not edit manually. + This placeholder provides defaults for IDE/IntelliSense when + the build script has not yet been run. */ #define xstr(s) str(s) #define str(s) #s -#define BUILD_VERSION 78 +#define BUILD_VERSION 80 #define COPYRIGHT_DATE "2026" #define FILE_VERSION_TEXT xstr(BUILD_VERSION) diff --git a/Source/Common/SampleDevice/COpcDaDevice.cpp b/Source/Shared/SampleDevice/COpcDaDevice.cpp similarity index 100% rename from Source/Common/SampleDevice/COpcDaDevice.cpp rename to Source/Shared/SampleDevice/COpcDaDevice.cpp diff --git a/Source/Common/SampleDevice/COpcDaDevice.h b/Source/Shared/SampleDevice/COpcDaDevice.h similarity index 100% rename from Source/Common/SampleDevice/COpcDaDevice.h rename to Source/Shared/SampleDevice/COpcDaDevice.h diff --git a/Source/Common/SampleDevice/COpcDaDeviceItem.cpp b/Source/Shared/SampleDevice/COpcDaDeviceItem.cpp similarity index 100% rename from Source/Common/SampleDevice/COpcDaDeviceItem.cpp rename to Source/Shared/SampleDevice/COpcDaDeviceItem.cpp diff --git a/Source/Common/SampleDevice/COpcDaDeviceItem.h b/Source/Shared/SampleDevice/COpcDaDeviceItem.h similarity index 100% rename from Source/Common/SampleDevice/COpcDaDeviceItem.h rename to Source/Shared/SampleDevice/COpcDaDeviceItem.h diff --git a/Source/Common/SampleDevice/OPC DA Sample Device.vcproj b/Source/Shared/SampleDevice/OPC DA Sample Device.vcproj similarity index 100% rename from Source/Common/SampleDevice/OPC DA Sample Device.vcproj rename to Source/Shared/SampleDevice/OPC DA Sample Device.vcproj diff --git a/Source/Common/SampleDevice/StdAfx.cpp b/Source/Shared/SampleDevice/StdAfx.cpp similarity index 100% rename from Source/Common/SampleDevice/StdAfx.cpp rename to Source/Shared/SampleDevice/StdAfx.cpp diff --git a/Source/Common/SampleDevice/StdAfx.h b/Source/Shared/SampleDevice/StdAfx.h similarity index 100% rename from Source/Common/SampleDevice/StdAfx.h rename to Source/Shared/SampleDevice/StdAfx.h diff --git a/Source/Common/SampleServer205/COpcDa20Cache.cpp b/Source/Shared/SampleServer205/COpcDa20Cache.cpp similarity index 100% rename from Source/Common/SampleServer205/COpcDa20Cache.cpp rename to Source/Shared/SampleServer205/COpcDa20Cache.cpp diff --git a/Source/Common/SampleServer205/COpcDa20Cache.h b/Source/Shared/SampleServer205/COpcDa20Cache.h similarity index 100% rename from Source/Common/SampleServer205/COpcDa20Cache.h rename to Source/Shared/SampleServer205/COpcDa20Cache.h diff --git a/Source/Common/SampleServer205/COpcDa20Group.h b/Source/Shared/SampleServer205/COpcDa20Group.h similarity index 100% rename from Source/Common/SampleServer205/COpcDa20Group.h rename to Source/Shared/SampleServer205/COpcDa20Group.h diff --git a/Source/Common/SampleServer205/COpcDa20Server.cpp b/Source/Shared/SampleServer205/COpcDa20Server.cpp similarity index 100% rename from Source/Common/SampleServer205/COpcDa20Server.cpp rename to Source/Shared/SampleServer205/COpcDa20Server.cpp diff --git a/Source/Common/SampleServer205/COpcDa20Server.h b/Source/Shared/SampleServer205/COpcDa20Server.h similarity index 100% rename from Source/Common/SampleServer205/COpcDa20Server.h rename to Source/Shared/SampleServer205/COpcDa20Server.h diff --git a/Source/Common/SampleServer205/OPC DA 2.05 Sample Server.vcproj b/Source/Shared/SampleServer205/OPC DA 2.05 Sample Server.vcproj similarity index 100% rename from Source/Common/SampleServer205/OPC DA 2.05 Sample Server.vcproj rename to Source/Shared/SampleServer205/OPC DA 2.05 Sample Server.vcproj diff --git a/Source/Common/SampleServer205/OpcDa20Server.binary.xml b/Source/Shared/SampleServer205/OpcDa20Server.binary.xml similarity index 100% rename from Source/Common/SampleServer205/OpcDa20Server.binary.xml rename to Source/Shared/SampleServer205/OpcDa20Server.binary.xml diff --git a/Source/Common/SampleServer205/OpcDa20Server.config.xml b/Source/Shared/SampleServer205/OpcDa20Server.config.xml similarity index 100% rename from Source/Common/SampleServer205/OpcDa20Server.config.xml rename to Source/Shared/SampleServer205/OpcDa20Server.config.xml diff --git a/Source/Common/SampleServer205/OpcDa20Server.cpp b/Source/Shared/SampleServer205/OpcDa20Server.cpp similarity index 100% rename from Source/Common/SampleServer205/OpcDa20Server.cpp rename to Source/Shared/SampleServer205/OpcDa20Server.cpp diff --git a/Source/Common/SampleServer205/OpcDa20Server.ico b/Source/Shared/SampleServer205/OpcDa20Server.ico similarity index 100% rename from Source/Common/SampleServer205/OpcDa20Server.ico rename to Source/Shared/SampleServer205/OpcDa20Server.ico diff --git a/Source/Common/SampleServer205/OpcDa20Server.idl b/Source/Shared/SampleServer205/OpcDa20Server.idl similarity index 100% rename from Source/Common/SampleServer205/OpcDa20Server.idl rename to Source/Shared/SampleServer205/OpcDa20Server.idl diff --git a/Source/Common/SampleServer205/OpcDa20Server.rc b/Source/Shared/SampleServer205/OpcDa20Server.rc similarity index 100% rename from Source/Common/SampleServer205/OpcDa20Server.rc rename to Source/Shared/SampleServer205/OpcDa20Server.rc diff --git a/Source/Common/SampleServer205/StdAfx.cpp b/Source/Shared/SampleServer205/StdAfx.cpp similarity index 100% rename from Source/Common/SampleServer205/StdAfx.cpp rename to Source/Shared/SampleServer205/StdAfx.cpp diff --git a/Source/Common/SampleServer205/StdAfx.h b/Source/Shared/SampleServer205/StdAfx.h similarity index 100% rename from Source/Common/SampleServer205/StdAfx.h rename to Source/Shared/SampleServer205/StdAfx.h diff --git a/Source/Common/SampleServer205/build.timestamp b/Source/Shared/SampleServer205/build.timestamp similarity index 100% rename from Source/Common/SampleServer205/build.timestamp rename to Source/Shared/SampleServer205/build.timestamp diff --git a/Source/Common/SampleServer205/resource.h b/Source/Shared/SampleServer205/resource.h similarity index 100% rename from Source/Common/SampleServer205/resource.h rename to Source/Shared/SampleServer205/resource.h diff --git a/Source/Common/SampleServerClasses/COpcBinary.cpp b/Source/Shared/SampleServerClasses/COpcBinary.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcBinary.cpp rename to Source/Shared/SampleServerClasses/COpcBinary.cpp diff --git a/Source/Common/SampleServerClasses/COpcBinary.h b/Source/Shared/SampleServerClasses/COpcBinary.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcBinary.h rename to Source/Shared/SampleServerClasses/COpcBinary.h diff --git a/Source/Common/SampleServerClasses/COpcBinaryReader.cpp b/Source/Shared/SampleServerClasses/COpcBinaryReader.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcBinaryReader.cpp rename to Source/Shared/SampleServerClasses/COpcBinaryReader.cpp diff --git a/Source/Common/SampleServerClasses/COpcBinaryReader.h b/Source/Shared/SampleServerClasses/COpcBinaryReader.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcBinaryReader.h rename to Source/Shared/SampleServerClasses/COpcBinaryReader.h diff --git a/Source/Common/SampleServerClasses/COpcBinaryStream.cpp b/Source/Shared/SampleServerClasses/COpcBinaryStream.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcBinaryStream.cpp rename to Source/Shared/SampleServerClasses/COpcBinaryStream.cpp diff --git a/Source/Common/SampleServerClasses/COpcBinaryStream.h b/Source/Shared/SampleServerClasses/COpcBinaryStream.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcBinaryStream.h rename to Source/Shared/SampleServerClasses/COpcBinaryStream.h diff --git a/Source/Common/SampleServerClasses/COpcBinaryWriter.cpp b/Source/Shared/SampleServerClasses/COpcBinaryWriter.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcBinaryWriter.cpp rename to Source/Shared/SampleServerClasses/COpcBinaryWriter.cpp diff --git a/Source/Common/SampleServerClasses/COpcBinaryWriter.h b/Source/Shared/SampleServerClasses/COpcBinaryWriter.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcBinaryWriter.h rename to Source/Shared/SampleServerClasses/COpcBinaryWriter.h diff --git a/Source/Common/SampleServerClasses/COpcDaBrowseElement.cpp b/Source/Shared/SampleServerClasses/COpcDaBrowseElement.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaBrowseElement.cpp rename to Source/Shared/SampleServerClasses/COpcDaBrowseElement.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaBrowseElement.h b/Source/Shared/SampleServerClasses/COpcDaBrowseElement.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaBrowseElement.h rename to Source/Shared/SampleServerClasses/COpcDaBrowseElement.h diff --git a/Source/Common/SampleServerClasses/COpcDaBuffer.h b/Source/Shared/SampleServerClasses/COpcDaBuffer.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaBuffer.h rename to Source/Shared/SampleServerClasses/COpcDaBuffer.h diff --git a/Source/Common/SampleServerClasses/COpcDaCache.cpp b/Source/Shared/SampleServerClasses/COpcDaCache.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaCache.cpp rename to Source/Shared/SampleServerClasses/COpcDaCache.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaCache.h b/Source/Shared/SampleServerClasses/COpcDaCache.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaCache.h rename to Source/Shared/SampleServerClasses/COpcDaCache.h diff --git a/Source/Common/SampleServerClasses/COpcDaCacheItem.cpp b/Source/Shared/SampleServerClasses/COpcDaCacheItem.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaCacheItem.cpp rename to Source/Shared/SampleServerClasses/COpcDaCacheItem.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaCacheItem.h b/Source/Shared/SampleServerClasses/COpcDaCacheItem.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaCacheItem.h rename to Source/Shared/SampleServerClasses/COpcDaCacheItem.h diff --git a/Source/Common/SampleServerClasses/COpcDaEnumGroup.h b/Source/Shared/SampleServerClasses/COpcDaEnumGroup.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaEnumGroup.h rename to Source/Shared/SampleServerClasses/COpcDaEnumGroup.h diff --git a/Source/Common/SampleServerClasses/COpcDaEnumItem.cpp b/Source/Shared/SampleServerClasses/COpcDaEnumItem.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaEnumItem.cpp rename to Source/Shared/SampleServerClasses/COpcDaEnumItem.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaEnumItem.h b/Source/Shared/SampleServerClasses/COpcDaEnumItem.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaEnumItem.h rename to Source/Shared/SampleServerClasses/COpcDaEnumItem.h diff --git a/Source/Common/SampleServerClasses/COpcDaGroup.cpp b/Source/Shared/SampleServerClasses/COpcDaGroup.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaGroup.cpp rename to Source/Shared/SampleServerClasses/COpcDaGroup.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaGroup.h b/Source/Shared/SampleServerClasses/COpcDaGroup.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaGroup.h rename to Source/Shared/SampleServerClasses/COpcDaGroup.h diff --git a/Source/Common/SampleServerClasses/COpcDaGroupItem.cpp b/Source/Shared/SampleServerClasses/COpcDaGroupItem.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaGroupItem.cpp rename to Source/Shared/SampleServerClasses/COpcDaGroupItem.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaGroupItem.h b/Source/Shared/SampleServerClasses/COpcDaGroupItem.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaGroupItem.h rename to Source/Shared/SampleServerClasses/COpcDaGroupItem.h diff --git a/Source/Common/SampleServerClasses/COpcDaProperty.cpp b/Source/Shared/SampleServerClasses/COpcDaProperty.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaProperty.cpp rename to Source/Shared/SampleServerClasses/COpcDaProperty.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaProperty.h b/Source/Shared/SampleServerClasses/COpcDaProperty.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaProperty.h rename to Source/Shared/SampleServerClasses/COpcDaProperty.h diff --git a/Source/Common/SampleServerClasses/COpcDaServer.cpp b/Source/Shared/SampleServerClasses/COpcDaServer.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaServer.cpp rename to Source/Shared/SampleServerClasses/COpcDaServer.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaServer.h b/Source/Shared/SampleServerClasses/COpcDaServer.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaServer.h rename to Source/Shared/SampleServerClasses/COpcDaServer.h diff --git a/Source/Common/SampleServerClasses/COpcDaTransaction.cpp b/Source/Shared/SampleServerClasses/COpcDaTransaction.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaTransaction.cpp rename to Source/Shared/SampleServerClasses/COpcDaTransaction.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaTransaction.h b/Source/Shared/SampleServerClasses/COpcDaTransaction.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaTransaction.h rename to Source/Shared/SampleServerClasses/COpcDaTransaction.h diff --git a/Source/Common/SampleServerClasses/COpcDaTypeDictionary.cpp b/Source/Shared/SampleServerClasses/COpcDaTypeDictionary.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaTypeDictionary.cpp rename to Source/Shared/SampleServerClasses/COpcDaTypeDictionary.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaTypeDictionary.h b/Source/Shared/SampleServerClasses/COpcDaTypeDictionary.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaTypeDictionary.h rename to Source/Shared/SampleServerClasses/COpcDaTypeDictionary.h diff --git a/Source/Common/SampleServerClasses/COpcDaUpdateThread.cpp b/Source/Shared/SampleServerClasses/COpcDaUpdateThread.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaUpdateThread.cpp rename to Source/Shared/SampleServerClasses/COpcDaUpdateThread.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaUpdateThread.h b/Source/Shared/SampleServerClasses/COpcDaUpdateThread.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaUpdateThread.h rename to Source/Shared/SampleServerClasses/COpcDaUpdateThread.h diff --git a/Source/Common/SampleServerClasses/COpcDaWriteThread.cpp b/Source/Shared/SampleServerClasses/COpcDaWriteThread.cpp similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaWriteThread.cpp rename to Source/Shared/SampleServerClasses/COpcDaWriteThread.cpp diff --git a/Source/Common/SampleServerClasses/COpcDaWriteThread.h b/Source/Shared/SampleServerClasses/COpcDaWriteThread.h similarity index 100% rename from Source/Common/SampleServerClasses/COpcDaWriteThread.h rename to Source/Shared/SampleServerClasses/COpcDaWriteThread.h diff --git a/Source/Common/SampleServerClasses/IOpcDaDevice.h b/Source/Shared/SampleServerClasses/IOpcDaDevice.h similarity index 100% rename from Source/Common/SampleServerClasses/IOpcDaDevice.h rename to Source/Shared/SampleServerClasses/IOpcDaDevice.h diff --git a/Source/Common/SampleServerClasses/OPC DA Sample Server Classes.vcproj b/Source/Shared/SampleServerClasses/OPC DA Sample Server Classes.vcproj similarity index 100% rename from Source/Common/SampleServerClasses/OPC DA Sample Server Classes.vcproj rename to Source/Shared/SampleServerClasses/OPC DA Sample Server Classes.vcproj diff --git a/Source/Common/SampleServerClasses/OpcDaHelpers.cpp b/Source/Shared/SampleServerClasses/OpcDaHelpers.cpp similarity index 100% rename from Source/Common/SampleServerClasses/OpcDaHelpers.cpp rename to Source/Shared/SampleServerClasses/OpcDaHelpers.cpp diff --git a/Source/Common/SampleServerClasses/OpcDaHelpers.h b/Source/Shared/SampleServerClasses/OpcDaHelpers.h similarity index 100% rename from Source/Common/SampleServerClasses/OpcDaHelpers.h rename to Source/Shared/SampleServerClasses/OpcDaHelpers.h diff --git a/Source/Common/SampleServerClasses/StdAfx.cpp b/Source/Shared/SampleServerClasses/StdAfx.cpp similarity index 100% rename from Source/Common/SampleServerClasses/StdAfx.cpp rename to Source/Shared/SampleServerClasses/StdAfx.cpp diff --git a/Source/Common/SampleServerClasses/StdAfx.h b/Source/Shared/SampleServerClasses/StdAfx.h similarity index 100% rename from Source/Common/SampleServerClasses/StdAfx.h rename to Source/Shared/SampleServerClasses/StdAfx.h diff --git a/Source/Common/SampleServerClasses/resource.h b/Source/Shared/SampleServerClasses/resource.h similarity index 100% rename from Source/Common/SampleServerClasses/resource.h rename to Source/Shared/SampleServerClasses/resource.h diff --git a/Source/Common/TestClient/OpcTestClient.cpp b/Source/Test/TestClient/OpcTestClient.cpp similarity index 100% rename from Source/Common/TestClient/OpcTestClient.cpp rename to Source/Test/TestClient/OpcTestClient.cpp diff --git a/Source/Common/TestServer/COpcTestGroup.h b/Source/Test/TestServer/COpcTestGroup.h similarity index 100% rename from Source/Common/TestServer/COpcTestGroup.h rename to Source/Test/TestServer/COpcTestGroup.h diff --git a/Source/Common/TestServer/COpcTestServer.cpp b/Source/Test/TestServer/COpcTestServer.cpp similarity index 100% rename from Source/Common/TestServer/COpcTestServer.cpp rename to Source/Test/TestServer/COpcTestServer.cpp diff --git a/Source/Common/TestServer/COpcTestServer.h b/Source/Test/TestServer/COpcTestServer.h similarity index 100% rename from Source/Common/TestServer/COpcTestServer.h rename to Source/Test/TestServer/COpcTestServer.h diff --git a/Source/Common/TestServer/OpcTestServer.config.xml b/Source/Test/TestServer/OpcTestServer.config.xml similarity index 100% rename from Source/Common/TestServer/OpcTestServer.config.xml rename to Source/Test/TestServer/OpcTestServer.config.xml diff --git a/Source/Common/TestServer/OpcTestServer.cpp b/Source/Test/TestServer/OpcTestServer.cpp similarity index 100% rename from Source/Common/TestServer/OpcTestServer.cpp rename to Source/Test/TestServer/OpcTestServer.cpp diff --git a/Source/Common/TestServer/OpcTestServer.ico b/Source/Test/TestServer/OpcTestServer.ico similarity index 100% rename from Source/Common/TestServer/OpcTestServer.ico rename to Source/Test/TestServer/OpcTestServer.ico diff --git a/Source/Common/TestServer/OpcTestServer.idl b/Source/Test/TestServer/OpcTestServer.idl similarity index 100% rename from Source/Common/TestServer/OpcTestServer.idl rename to Source/Test/TestServer/OpcTestServer.idl diff --git a/Source/Common/TestServer/OpcTestServer.rc b/Source/Test/TestServer/OpcTestServer.rc similarity index 100% rename from Source/Common/TestServer/OpcTestServer.rc rename to Source/Test/TestServer/OpcTestServer.rc diff --git a/Source/Common/TestServer/StdAfx.cpp b/Source/Test/TestServer/StdAfx.cpp similarity index 100% rename from Source/Common/TestServer/StdAfx.cpp rename to Source/Test/TestServer/StdAfx.cpp diff --git a/Source/Common/TestServer/StdAfx.h b/Source/Test/TestServer/StdAfx.h similarity index 100% rename from Source/Common/TestServer/StdAfx.h rename to Source/Test/TestServer/StdAfx.h diff --git a/Source/Common/TestServer/resource.h b/Source/Test/TestServer/resource.h similarity index 100% rename from Source/Common/TestServer/resource.h rename to Source/Test/TestServer/resource.h diff --git a/build.txt b/build.txt index efee1f8..e3f1e9b 100644 --- a/build.txt +++ b/build.txt @@ -1 +1 @@ -78 \ No newline at end of file +80 \ No newline at end of file From d2cf683896dc7365e4e20588363a8c458acb80ea Mon Sep 17 00:00:00 2001 From: Randy Armstrong Date: Sat, 14 Feb 2026 13:18:22 -0800 Subject: [PATCH 3/3] Fix headers on *.mc files. --- Source/AlarmsAndEvents/ProxyStub/opcae_er.mc | 45 +++++++------- Source/Batch/ProxyStub/OpcBatchError.mc | 45 +++++++------- Source/Commands/ProxyStub/OpcCmdError.mc | 44 +++++++------- Source/DataAccess/ProxyStub/opcerror.mc | 49 ++++++++-------- Source/DataExchange/ProxyStub/OpcDxError.mc | 58 ++++++++++--------- .../ProxyStub/OpcHda_Error.mc | 45 +++++++------- Source/Include/version.h | 2 +- Source/Security/ProxyStub/OpcErrSec.mc | 45 +++++++------- build.txt | 2 +- 9 files changed, 177 insertions(+), 158 deletions(-) diff --git a/Source/AlarmsAndEvents/ProxyStub/opcae_er.mc b/Source/AlarmsAndEvents/ProxyStub/opcae_er.mc index eac083a..19ce349 100644 --- a/Source/AlarmsAndEvents/ProxyStub/opcae_er.mc +++ b/Source/AlarmsAndEvents/ProxyStub/opcae_er.mc @@ -1,28 +1,31 @@ -;//============================================================================== -;// TITLE: opcae_er.h +;// ======================================================================== +;// Copyright (c) 2002-2026 OPC Foundation. All rights reserved. ;// -;// CONTENTS: -;// -;// Defines error codes for the OPC Alarms & Events specification. +;// OPC Foundation MIT License 1.00 ;// -;// (c) Copyright 1997-2003 The OPC Foundation -;// ALL RIGHTS RESERVED. +;// Permission is hereby granted, free of charge, to any person +;// obtaining a copy of this software and associated documentation +;// files (the "Software"), to deal in the Software without +;// restriction, including without limitation the rights to use, +;// copy, modify, merge, publish, distribute, sublicense, and/or sell +;// copies of the Software, and to permit persons to whom the +;// Software is furnished to do so, subject to the following +;// conditions: ;// -;// DISCLAIMER: -;// This code is provided by the OPC Foundation solely to assist in -;// understanding and use of the appropriate OPC Specification(s) and may be -;// used as set forth in the License Grant section of the OPC Specification. -;// This code is provided as-is and without warranty or support of any sort -;// and is subject to the Warranty and Liability Disclaimers which appear -;// in the printed OPC Specification. -;// -;// MODIFICATION LOG: -;// -;// Date By Notes -;// ---------- --- ----- -;// 2002/10/02 JL Updated for Version 1.1. -;// 2003/01/06 RSA Fixed formatting to comply with coding guidelines. +;// The above copyright notice and this permission notice shall be +;// included in all copies or substantial portions of the Software. +;// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +;// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +;// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +;// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +;// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +;// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +;// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +;// OTHER DEALINGS IN THE SOFTWARE. ;// +;// The complete license agreement can be found here: +;// http://opcfoundation.org/License/MIT/1.00/ +;// ======================================================================== MessageIdTypedef=HRESULT diff --git a/Source/Batch/ProxyStub/OpcBatchError.mc b/Source/Batch/ProxyStub/OpcBatchError.mc index f9313bc..06e54b7 100644 --- a/Source/Batch/ProxyStub/OpcBatchError.mc +++ b/Source/Batch/ProxyStub/OpcBatchError.mc @@ -1,28 +1,31 @@ -;//============================================================================== -;// TITLE: OpcBatchError.h +;// ======================================================================== +;// Copyright (c) 2002-2026 OPC Foundation. All rights reserved. ;// -;// CONTENTS: -;// -;// Defines error codes for the Batch specifications. +;// OPC Foundation MIT License 1.00 ;// -;// (c) Copyright 2000-2003 The OPC Foundation -;// ALL RIGHTS RESERVED. +;// Permission is hereby granted, free of charge, to any person +;// obtaining a copy of this software and associated documentation +;// files (the "Software"), to deal in the Software without +;// restriction, including without limitation the rights to use, +;// copy, modify, merge, publish, distribute, sublicense, and/or sell +;// copies of the Software, and to permit persons to whom the +;// Software is furnished to do so, subject to the following +;// conditions: ;// -;// DISCLAIMER: -;// This code is provided by the OPC Foundation solely to assist in -;// understanding and use of the appropriate OPC Specification(s) and may be -;// used as set forth in the License Grant section of the OPC Specification. -;// This code is provided as-is and without warranty or support of any sort -;// and is subject to the Warranty and Liability Disclaimers which appear -;// in the printed OPC Specification. -;// -;// MODIFICATION LOG: -;// -;// Date By Notes -;// ---------- --- ----- -;// 2000/01/17 OPC Created. -;// 2003/01/06 RSA Updated formatting. Added messages to proxy/stub resource block. +;// The above copyright notice and this permission notice shall be +;// included in all copies or substantial portions of the Software. +;// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +;// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +;// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +;// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +;// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +;// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +;// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +;// OTHER DEALINGS IN THE SOFTWARE. ;// +;// The complete license agreement can be found here: +;// http://opcfoundation.org/License/MIT/1.00/ +;// ======================================================================== MessageIdTypedef=HRESULT diff --git a/Source/Commands/ProxyStub/OpcCmdError.mc b/Source/Commands/ProxyStub/OpcCmdError.mc index 063f3ed..3241e0c 100644 --- a/Source/Commands/ProxyStub/OpcCmdError.mc +++ b/Source/Commands/ProxyStub/OpcCmdError.mc @@ -1,27 +1,31 @@ -;//============================================================================== -;// TITLE: OpcCmdError.h +;// ======================================================================== +;// Copyright (c) 2002-2026 OPC Foundation. All rights reserved. ;// -;// CONTENTS: -;// -;// Defines error codes for the OPC Command Execution specification. +;// OPC Foundation MIT License 1.00 ;// -;// (c) Copyright 2004 The OPC Foundation -;// ALL RIGHTS RESERVED. +;// Permission is hereby granted, free of charge, to any person +;// obtaining a copy of this software and associated documentation +;// files (the "Software"), to deal in the Software without +;// restriction, including without limitation the rights to use, +;// copy, modify, merge, publish, distribute, sublicense, and/or sell +;// copies of the Software, and to permit persons to whom the +;// Software is furnished to do so, subject to the following +;// conditions: ;// -;// DISCLAIMER: -;// This code is provided by the OPC Foundation solely to assist in -;// understanding and use of the appropriate OPC Specification(s) and may be -;// used as set forth in the License Grant section of the OPC Specification. -;// This code is provided as-is and without warranty or support of any sort -;// and is subject to the Warranty and Liability Disclaimers which appear -;// in the printed OPC Specification. -;// -;// MODIFICATION LOG: -;// -;// Date By Notes -;// ---------- --- ----- -;// 2002/12/12 RSA Created. +;// The above copyright notice and this permission notice shall be +;// included in all copies or substantial portions of the Software. +;// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +;// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +;// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +;// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +;// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +;// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +;// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +;// OTHER DEALINGS IN THE SOFTWARE. ;// +;// The complete license agreement can be found here: +;// http://opcfoundation.org/License/MIT/1.00/ +;// ======================================================================== MessageIdTypedef=HRESULT diff --git a/Source/DataAccess/ProxyStub/opcerror.mc b/Source/DataAccess/ProxyStub/opcerror.mc index 19dd086..4549aef 100644 --- a/Source/DataAccess/ProxyStub/opcerror.mc +++ b/Source/DataAccess/ProxyStub/opcerror.mc @@ -1,32 +1,31 @@ -;//============================================================================== -;// TITLE: operror.h +;// ======================================================================== +;// Copyright (c) 2002-2026 OPC Foundation. All rights reserved. ;// -;// CONTENTS: -;// -;// Defines error codes for the Data Access specifications. +;// OPC Foundation MIT License 1.00 ;// -;// (c) Copyright 1997-2003 The OPC Foundation -;// ALL RIGHTS RESERVED. +;// Permission is hereby granted, free of charge, to any person +;// obtaining a copy of this software and associated documentation +;// files (the "Software"), to deal in the Software without +;// restriction, including without limitation the rights to use, +;// copy, modify, merge, publish, distribute, sublicense, and/or sell +;// copies of the Software, and to permit persons to whom the +;// Software is furnished to do so, subject to the following +;// conditions: ;// -;// DISCLAIMER: -;// This code is provided by the OPC Foundation solely to assist in -;// understanding and use of the appropriate OPC Specification(s) and may be -;// used as set forth in the License Grant section of the OPC Specification. -;// This code is provided as-is and without warranty or support of any sort -;// and is subject to the Warranty and Liability Disclaimers which appear -;// in the printed OPC Specification. -;// -;// MODIFICATION LOG: -;// -;// Date By Notes -;// ---------- --- ----- -;// 1997/05/12 ACC Removed Unused messages -;// Added OPC_S_INUSE, OPC_E_INVALIDCONFIGFILE, OPC_E_NOTFOUND -;// 1997/05/12 ACC Added OPC_E_INVALID_PID -;// 2002/08/12 CRT Added new error codes for DA3.0 -;// 2003/01/02 RSA Updated formatting. Added messages to proxy/stub resource block. -;// 2003/10/12 RSA Added error codes for complex data. +;// The above copyright notice and this permission notice shall be +;// included in all copies or substantial portions of the Software. +;// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +;// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +;// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +;// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +;// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +;// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +;// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +;// OTHER DEALINGS IN THE SOFTWARE. ;// +;// The complete license agreement can be found here: +;// http://opcfoundation.org/License/MIT/1.00/ +;// ======================================================================== MessageIdTypedef=HRESULT diff --git a/Source/DataExchange/ProxyStub/OpcDxError.mc b/Source/DataExchange/ProxyStub/OpcDxError.mc index ba93591..811c321 100644 --- a/Source/DataExchange/ProxyStub/OpcDxError.mc +++ b/Source/DataExchange/ProxyStub/OpcDxError.mc @@ -1,27 +1,31 @@ -;//============================================================================== -;// TITLE: OpcDxError.h +;// ======================================================================== +;// Copyright (c) 2002-2026 OPC Foundation. All rights reserved. ;// -;// CONTENTS: -;// -;// Defines error codes for the OPC Data Exchange specification. +;// OPC Foundation MIT License 1.00 ;// -;// (c) Copyright 2002 The OPC Foundation -;// ALL RIGHTS RESERVED. +;// Permission is hereby granted, free of charge, to any person +;// obtaining a copy of this software and associated documentation +;// files (the "Software"), to deal in the Software without +;// restriction, including without limitation the rights to use, +;// copy, modify, merge, publish, distribute, sublicense, and/or sell +;// copies of the Software, and to permit persons to whom the +;// Software is furnished to do so, subject to the following +;// conditions: ;// -;// DISCLAIMER: -;// This code is provided by the OPC Foundation solely to assist in -;// understanding and use of the appropriate OPC Specification(s) and may be -;// used as set forth in the License Grant section of the OPC Specification. -;// This code is provided as-is and without warranty or support of any sort -;// and is subject to the Warranty and Liability Disclaimers which appear -;// in the printed OPC Specification. -;// -;// MODIFICATION LOG: -;// -;// Date By Notes -;// ---------- --- ----- -;// 2002/12/12 RSA Created. +;// The above copyright notice and this permission notice shall be +;// included in all copies or substantial portions of the Software. +;// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +;// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +;// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +;// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +;// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +;// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +;// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +;// OTHER DEALINGS IN THE SOFTWARE. ;// +;// The complete license agreement can be found here: +;// http://opcfoundation.org/License/MIT/1.00/ +;// ======================================================================== MessageIdTypedef=HRESULT @@ -201,7 +205,7 @@ Severity=Error Facility=Interface SymbolicName=OPCDX_E_OVERRIDE_RANGE Language=English -The override value is outside of the target item’s range and overridden flag is set to true. +The override value is outside of the target item�s range and overridden flag is set to true. . MessageID= @@ -217,7 +221,7 @@ Severity=Error Facility=Interface SymbolicName=OPCDX_E_SUBSTITUTE_RANGE Language=English -The substitute value is outside of the target item’s range the enable substitute value flag is set to true. +The substitute value is outside of the target item�s range the enable substitute value flag is set to true. . MessageID= @@ -233,7 +237,7 @@ Severity=Error Facility=Interface SymbolicName=OPCDX_E_UNKNOWN_TARGET_ITEM Language=English -The target item no longer exists in the DX server’s address space. +The target item no longer exists in the DX server�s address space. . MessageID= @@ -257,7 +261,7 @@ Severity=Error Facility=Interface SymbolicName=OPCDX_E_UNKNOWN_SOURCE_ITEM Language=English -The source item is no longer in the source server’s address space. +The source item is no longer in the source server�s address space. . MessageID= @@ -265,7 +269,7 @@ Severity=Error Facility=Interface SymbolicName=OPCDX_E_INVALID_SOURCE_ITEM Language=English -The source item does not confirm to the source server’s syntax. +The source item does not confirm to the source server�s syntax. . MessageID= @@ -361,7 +365,7 @@ Severity=Error Facility=Interface SymbolicName=OPCDX_E_SOURCE_ITEM_BADTYPE Language=English -The source item cannot be converted to the target’s data type. This error reported by the source server. +The source item cannot be converted to the target�s data type. This error reported by the source server. . MessageID= @@ -409,7 +413,7 @@ Severity=Error Facility=Interface SymbolicName=OPCDX_E_TARGET_ITEM_BADTYPE Language=English -The target item cannot be converted to the target’s data type. +The target item cannot be converted to the target�s data type. . MessageID= diff --git a/Source/HistoricalDataAccess/ProxyStub/OpcHda_Error.mc b/Source/HistoricalDataAccess/ProxyStub/OpcHda_Error.mc index 2a17a72..1a8388f 100644 --- a/Source/HistoricalDataAccess/ProxyStub/OpcHda_Error.mc +++ b/Source/HistoricalDataAccess/ProxyStub/OpcHda_Error.mc @@ -1,28 +1,31 @@ -;//============================================================================== -;// TITLE: OpcHda_Error.h +;// ======================================================================== +;// Copyright (c) 2002-2026 OPC Foundation. All rights reserved. ;// -;// CONTENTS: -;// -;// Defines error codes for the Historial Data Access specifications. +;// OPC Foundation MIT License 1.00 ;// -;// (c) Copyright 2000-2003 The OPC Foundation -;// ALL RIGHTS RESERVED. +;// Permission is hereby granted, free of charge, to any person +;// obtaining a copy of this software and associated documentation +;// files (the "Software"), to deal in the Software without +;// restriction, including without limitation the rights to use, +;// copy, modify, merge, publish, distribute, sublicense, and/or sell +;// copies of the Software, and to permit persons to whom the +;// Software is furnished to do so, subject to the following +;// conditions: ;// -;// DISCLAIMER: -;// This code is provided by the OPC Foundation solely to assist in -;// understanding and use of the appropriate OPC Specification(s) and may be -;// used as set forth in the License Grant section of the OPC Specification. -;// This code is provided as-is and without warranty or support of any sort -;// and is subject to the Warranty and Liability Disclaimers which appear -;// in the printed OPC Specification. -;// -;// MODIFICATION LOG: -;// -;// Date By Notes -;// ---------- --- ----- -;// 2000/01/17 OPC Created. -;// 2003/01/06 RSA Updated formatting. Added messages to proxy/stub resource block. +;// The above copyright notice and this permission notice shall be +;// included in all copies or substantial portions of the Software. +;// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +;// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +;// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +;// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +;// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +;// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +;// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +;// OTHER DEALINGS IN THE SOFTWARE. ;// +;// The complete license agreement can be found here: +;// http://opcfoundation.org/License/MIT/1.00/ +;// ======================================================================== MessageIdTypedef=HRESULT diff --git a/Source/Include/version.h b/Source/Include/version.h index 46ce5a3..83e30a6 100644 --- a/Source/Include/version.h +++ b/Source/Include/version.h @@ -5,7 +5,7 @@ #define xstr(s) str(s) #define str(s) #s -#define BUILD_VERSION 80 +#define BUILD_VERSION 85 #define COPYRIGHT_DATE "2026" #define FILE_VERSION_TEXT xstr(BUILD_VERSION) diff --git a/Source/Security/ProxyStub/OpcErrSec.mc b/Source/Security/ProxyStub/OpcErrSec.mc index b74b48a..532f38e 100644 --- a/Source/Security/ProxyStub/OpcErrSec.mc +++ b/Source/Security/ProxyStub/OpcErrSec.mc @@ -1,28 +1,31 @@ -;//============================================================================== -;// TITLE: OpcErrSec.h +;// ======================================================================== +;// Copyright (c) 2002-2026 OPC Foundation. All rights reserved. ;// -;// CONTENTS: -;// -;// Defines error codes for the Security specifications. +;// OPC Foundation MIT License 1.00 ;// -;// (c) Copyright 2000-2003 The OPC Foundation -;// ALL RIGHTS RESERVED. +;// Permission is hereby granted, free of charge, to any person +;// obtaining a copy of this software and associated documentation +;// files (the "Software"), to deal in the Software without +;// restriction, including without limitation the rights to use, +;// copy, modify, merge, publish, distribute, sublicense, and/or sell +;// copies of the Software, and to permit persons to whom the +;// Software is furnished to do so, subject to the following +;// conditions: ;// -;// DISCLAIMER: -;// This code is provided by the OPC Foundation solely to assist in -;// understanding and use of the appropriate OPC Specification(s) and may be -;// used as set forth in the License Grant section of the OPC Specification. -;// This code is provided as-is and without warranty or support of any sort -;// and is subject to the Warranty and Liability Disclaimers which appear -;// in the printed OPC Specification. -;// -;// MODIFICATION LOG: -;// -;// Date By Notes -;// ---------- --- ----- -;// 2000/08/18 OPC Created. -;// 2003/01/06 RSA Updated formatting. Added messages to proxy/stub resource block. +;// The above copyright notice and this permission notice shall be +;// included in all copies or substantial portions of the Software. +;// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +;// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +;// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +;// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +;// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +;// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +;// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +;// OTHER DEALINGS IN THE SOFTWARE. ;// +;// The complete license agreement can be found here: +;// http://opcfoundation.org/License/MIT/1.00/ +;// ======================================================================== MessageIdTypedef=HRESULT diff --git a/build.txt b/build.txt index e3f1e9b..615be70 100644 --- a/build.txt +++ b/build.txt @@ -1 +1 @@ -80 \ No newline at end of file +85 \ No newline at end of file