From e7ff9036293ed0209217e3dd6d01be65ec75b626 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Wed, 9 May 2018 18:47:29 +0300 Subject: [PATCH] FS-11150: [Build-System] Fix broken ESL in .Net project. --- Freeswitch.2015.sln | 2 +- libs/esl/fs_cli.2010.vcxproj.filters | 40 - libs/esl/fs_cli.2015.vcxproj | 2 +- libs/esl/managed/.gitignore | 3 + libs/esl/managed/ESL.2010.vcxproj.filters | 30 - libs/esl/managed/ESL.cs | 16 +- libs/esl/managed/ESLPINVOKE.2010.cs | 331 ------ libs/esl/managed/ESLPINVOKE.2015.cs | 330 ++++++ libs/esl/managed/ESLPINVOKE.cs | 16 +- libs/esl/managed/ESLconnection.2015.cs | 157 +++ libs/esl/managed/ESLconnection.cs | 16 +- .../{ESLevent.2010.cs => ESLevent.2015.cs} | 287 +++--- libs/esl/managed/ESLevent.cs | 16 +- libs/esl/managed/ManagedEsl.2010.csproj | 93 -- ...Esl.2012.csproj => ManagedEsl.2015.csproj} | 188 ++-- ...naged_esl.2012.sln => ManagedEsl.2015.sln} | 127 ++- libs/esl/managed/ManagedEsl.csproj | 56 - libs/esl/managed/ManagedEslTest/.gitignore | 1 + .../ManagedEslTest/ManagedEslTest.2010.csproj | 99 -- ...2012.csproj => ManagedEslTest.2015.csproj} | 200 ++-- .../ManagedEslTest/ManagedEslTest.csproj | 58 -- .../ManagedEslTest/Properties/AssemblyInfo.cs | 2 +- libs/esl/managed/Properties/AssemblyInfo.cs | 2 +- .../managed/SWIGTYPE_p_esl_event_t.2010.cs | 27 - .../managed/SWIGTYPE_p_esl_event_t.2015.cs | 26 + libs/esl/managed/SWIGTYPE_p_esl_event_t.cs | 16 +- .../managed/SWIGTYPE_p_esl_priority_t.2010.cs | 27 - .../managed/SWIGTYPE_p_esl_priority_t.2015.cs | 26 + libs/esl/managed/SWIGTYPE_p_esl_priority_t.cs | 16 +- libs/esl/managed/esl.2010.cs | 18 - libs/esl/managed/esl.2015.cs | 17 + libs/esl/managed/esl.2015.vcxproj | 216 ++++ libs/esl/managed/esl_wrap.2015.cpp | 967 ++++++++++++++++++ libs/esl/managed/esl_wrap.cpp | 27 +- libs/esl/managed/managed_esl.2008.sln | 60 -- libs/esl/managed/managed_esl.2010.sln | 52 - .../{runswig.2010.cmd => runswig.2015.cmd} | 50 +- libs/esl/src/esl.2010.vcxproj.filters | 47 - .../{esl.2015.vcxproj => libesl.2015.vcxproj} | 316 +++--- .../mod_hash/mod_hash.2015.vcxproj | 2 +- 40 files changed, 2422 insertions(+), 1560 deletions(-) delete mode 100644 libs/esl/fs_cli.2010.vcxproj.filters create mode 100644 libs/esl/managed/.gitignore delete mode 100644 libs/esl/managed/ESL.2010.vcxproj.filters delete mode 100644 libs/esl/managed/ESLPINVOKE.2010.cs create mode 100644 libs/esl/managed/ESLPINVOKE.2015.cs create mode 100644 libs/esl/managed/ESLconnection.2015.cs rename libs/esl/managed/{ESLevent.2010.cs => ESLevent.2015.cs} (70%) delete mode 100644 libs/esl/managed/ManagedEsl.2010.csproj rename libs/esl/managed/{ManagedEsl.2012.csproj => ManagedEsl.2015.csproj} (89%) rename libs/esl/managed/{managed_esl.2012.sln => ManagedEsl.2015.sln} (50%) delete mode 100644 libs/esl/managed/ManagedEsl.csproj create mode 100644 libs/esl/managed/ManagedEslTest/.gitignore delete mode 100644 libs/esl/managed/ManagedEslTest/ManagedEslTest.2010.csproj rename libs/esl/managed/ManagedEslTest/{ManagedEslTest.2012.csproj => ManagedEslTest.2015.csproj} (93%) delete mode 100644 libs/esl/managed/ManagedEslTest/ManagedEslTest.csproj delete mode 100644 libs/esl/managed/SWIGTYPE_p_esl_event_t.2010.cs create mode 100644 libs/esl/managed/SWIGTYPE_p_esl_event_t.2015.cs delete mode 100644 libs/esl/managed/SWIGTYPE_p_esl_priority_t.2010.cs create mode 100644 libs/esl/managed/SWIGTYPE_p_esl_priority_t.2015.cs delete mode 100644 libs/esl/managed/esl.2010.cs create mode 100644 libs/esl/managed/esl.2015.cs create mode 100644 libs/esl/managed/esl.2015.vcxproj create mode 100644 libs/esl/managed/esl_wrap.2015.cpp delete mode 100644 libs/esl/managed/managed_esl.2008.sln delete mode 100644 libs/esl/managed/managed_esl.2010.sln rename libs/esl/managed/{runswig.2010.cmd => runswig.2015.cmd} (50%) delete mode 100644 libs/esl/src/esl.2010.vcxproj.filters rename libs/esl/src/{esl.2015.vcxproj => libesl.2015.vcxproj} (96%) diff --git a/Freeswitch.2015.sln b/Freeswitch.2015.sln index add8584eac..f8eabfd0a0 100644 --- a/Freeswitch.2015.sln +++ b/Freeswitch.2015.sln @@ -359,7 +359,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libg722_1", "libs\win32\lib EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_siren", "src\mod\codecs\mod_siren\mod_siren.2015.vcxproj", "{0B6C905B-142E-4999-B39D-92FF7951E921}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "esl", "libs\esl\src\esl.2015.vcxproj", "{CF405366-9558-4AE8-90EF-5E21B51CCB4E}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libesl", "libs\esl\src\libesl.2015.vcxproj", "{CF405366-9558-4AE8-90EF-5E21B51CCB4E}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "fs_cli", "libs\esl\fs_cli.2015.vcxproj", "{D2FB8043-D208-4AEE-8F18-3B5857C871B9}" ProjectSection(ProjectDependencies) = postProject diff --git a/libs/esl/fs_cli.2010.vcxproj.filters b/libs/esl/fs_cli.2010.vcxproj.filters deleted file mode 100644 index cd2e7a6bf7..0000000000 --- a/libs/esl/fs_cli.2010.vcxproj.filters +++ /dev/null @@ -1,40 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx - - - - - Source Files - - - Source Files - - - - - Header Files - - - - - Version Files - - - - - Version Files - - - \ No newline at end of file diff --git a/libs/esl/fs_cli.2015.vcxproj b/libs/esl/fs_cli.2015.vcxproj index 2692248736..9eeb01a1b0 100644 --- a/libs/esl/fs_cli.2015.vcxproj +++ b/libs/esl/fs_cli.2015.vcxproj @@ -203,7 +203,7 @@ {202d7a4e-760d-4d0e-afa1-d7459ced30ff} - + {cf405366-9558-4ae8-90ef-5e21b51ccb4e} false diff --git a/libs/esl/managed/.gitignore b/libs/esl/managed/.gitignore new file mode 100644 index 0000000000..4e46876e20 --- /dev/null +++ b/libs/esl/managed/.gitignore @@ -0,0 +1,3 @@ +swig/ +*.VC.db +*.VC.VC.opendb diff --git a/libs/esl/managed/ESL.2010.vcxproj.filters b/libs/esl/managed/ESL.2010.vcxproj.filters deleted file mode 100644 index dfdab8436a..0000000000 --- a/libs/esl/managed/ESL.2010.vcxproj.filters +++ /dev/null @@ -1,30 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav - - - - - Source Files - - - Source Files - - - - - Header Files - - - \ No newline at end of file diff --git a/libs/esl/managed/ESL.cs b/libs/esl/managed/ESL.cs index 870e86b840..27de939b10 100644 --- a/libs/esl/managed/ESL.cs +++ b/libs/esl/managed/ESL.cs @@ -1,10 +1,12 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.2 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ public class ESL { diff --git a/libs/esl/managed/ESLPINVOKE.2010.cs b/libs/esl/managed/ESLPINVOKE.2010.cs deleted file mode 100644 index ec6c9637a8..0000000000 --- a/libs/esl/managed/ESLPINVOKE.2010.cs +++ /dev/null @@ -1,331 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -class ESLPINVOKE { - - protected class SWIGExceptionHelper { - - public delegate void ExceptionDelegate(string message); - public delegate void ExceptionArgumentDelegate(string message, string paramName); - - static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException); - static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException); - static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException); - static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException); - static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException); - static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException); - static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException); - static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException); - static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException); - static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException); - static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException); - - static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException); - static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException); - static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException); - - [DllImport("ESL", EntryPoint="SWIGRegisterExceptionCallbacks_ESL")] - public static extern void SWIGRegisterExceptionCallbacks_ESL( - ExceptionDelegate applicationDelegate, - ExceptionDelegate arithmeticDelegate, - ExceptionDelegate divideByZeroDelegate, - ExceptionDelegate indexOutOfRangeDelegate, - ExceptionDelegate invalidCastDelegate, - ExceptionDelegate invalidOperationDelegate, - ExceptionDelegate ioDelegate, - ExceptionDelegate nullReferenceDelegate, - ExceptionDelegate outOfMemoryDelegate, - ExceptionDelegate overflowDelegate, - ExceptionDelegate systemExceptionDelegate); - - [DllImport("ESL", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_ESL")] - public static extern void SWIGRegisterExceptionCallbacksArgument_ESL( - ExceptionArgumentDelegate argumentDelegate, - ExceptionArgumentDelegate argumentNullDelegate, - ExceptionArgumentDelegate argumentOutOfRangeDelegate); - - static void SetPendingApplicationException(string message) { - SWIGPendingException.Set(new System.ApplicationException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingArithmeticException(string message) { - SWIGPendingException.Set(new System.ArithmeticException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingDivideByZeroException(string message) { - SWIGPendingException.Set(new System.DivideByZeroException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingIndexOutOfRangeException(string message) { - SWIGPendingException.Set(new System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingInvalidCastException(string message) { - SWIGPendingException.Set(new System.InvalidCastException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingInvalidOperationException(string message) { - SWIGPendingException.Set(new System.InvalidOperationException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingIOException(string message) { - SWIGPendingException.Set(new System.IO.IOException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingNullReferenceException(string message) { - SWIGPendingException.Set(new System.NullReferenceException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingOutOfMemoryException(string message) { - SWIGPendingException.Set(new System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingOverflowException(string message) { - SWIGPendingException.Set(new System.OverflowException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingSystemException(string message) { - SWIGPendingException.Set(new System.SystemException(message, SWIGPendingException.Retrieve())); - } - - static void SetPendingArgumentException(string message, string paramName) { - SWIGPendingException.Set(new System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); - } - static void SetPendingArgumentNullException(string message, string paramName) { - Exception e = SWIGPendingException.Retrieve(); - if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new System.ArgumentNullException(paramName, message)); - } - static void SetPendingArgumentOutOfRangeException(string message, string paramName) { - Exception e = SWIGPendingException.Retrieve(); - if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new System.ArgumentOutOfRangeException(paramName, message)); - } - - static SWIGExceptionHelper() { - SWIGRegisterExceptionCallbacks_ESL( - applicationDelegate, - arithmeticDelegate, - divideByZeroDelegate, - indexOutOfRangeDelegate, - invalidCastDelegate, - invalidOperationDelegate, - ioDelegate, - nullReferenceDelegate, - outOfMemoryDelegate, - overflowDelegate, - systemDelegate); - - SWIGRegisterExceptionCallbacksArgument_ESL( - argumentDelegate, - argumentNullDelegate, - argumentOutOfRangeDelegate); - } - } - - protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper(); - - public class SWIGPendingException { - [ThreadStatic] - private static Exception pendingException = null; - private static int numExceptionsPending = 0; - - public static bool Pending { - get { - bool pending = false; - if (numExceptionsPending > 0) - if (pendingException != null) - pending = true; - return pending; - } - } - - public static void Set(Exception e) { - if (pendingException != null) - throw new ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); - pendingException = e; - lock(typeof(ESLPINVOKE)) { - numExceptionsPending++; - } - } - - public static Exception Retrieve() { - Exception e = null; - if (numExceptionsPending > 0) { - if (pendingException != null) { - e = pendingException; - pendingException = null; - lock(typeof(ESLPINVOKE)) { - numExceptionsPending--; - } - } - } - return e; - } - } - - - protected class SWIGStringHelper { - - public delegate string SWIGStringDelegate(string message); - static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); - - [DllImport("ESL", EntryPoint="SWIGRegisterStringCallback_ESL")] - public static extern void SWIGRegisterStringCallback_ESL(SWIGStringDelegate stringDelegate); - - static string CreateString(string cString) { - return cString; - } - - static SWIGStringHelper() { - SWIGRegisterStringCallback_ESL(stringDelegate); - } - } - - static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); - - - static ESLPINVOKE() { - } - - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_Event_set")] - public static extern void ESLevent_Event_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_Event_get")] - public static extern IntPtr ESLevent_Event_get(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_SerializedString_set")] - public static extern void ESLevent_SerializedString_set(HandleRef jarg1, string jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_SerializedString_get")] - public static extern string ESLevent_SerializedString_get(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_Mine_set")] - public static extern void ESLevent_Mine_set(HandleRef jarg1, int jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_Mine_get")] - public static extern int ESLevent_Mine_get(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_new_ESLevent__SWIG_0")] - public static extern IntPtr new_ESLevent__SWIG_0(string jarg1, string jarg2); - - [DllImport("ESL", EntryPoint="CSharp_new_ESLevent__SWIG_1")] - public static extern IntPtr new_ESLevent__SWIG_1(HandleRef jarg1, int jarg2); - - [DllImport("ESL", EntryPoint="CSharp_new_ESLevent__SWIG_2")] - public static extern IntPtr new_ESLevent__SWIG_2(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_delete_ESLevent")] - public static extern void delete_ESLevent(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_Serialize")] - public static extern string ESLevent_Serialize(HandleRef jarg1, string jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_SetPriority")] - public static extern bool ESLevent_SetPriority(HandleRef jarg1, HandleRef jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_GetHeader")] - public static extern string ESLevent_GetHeader(HandleRef jarg1, string jarg2, int jarg3); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_GetBody")] - public static extern string ESLevent_GetBody(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_getType")] - public static extern string ESLevent_getType(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_AddBody")] - public static extern bool ESLevent_AddBody(HandleRef jarg1, string jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_AddHeader")] - public static extern bool ESLevent_AddHeader(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_pushHeader")] - public static extern bool ESLevent_pushHeader(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_unshiftHeader")] - public static extern bool ESLevent_unshiftHeader(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_DelHeader")] - public static extern bool ESLevent_DelHeader(HandleRef jarg1, string jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_FirstHeader")] - public static extern string ESLevent_FirstHeader(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLevent_NextHeader")] - public static extern string ESLevent_NextHeader(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_0")] - public static extern IntPtr new_ESLconnection__SWIG_0(string jarg1, int jarg2, string jarg3, string jarg4); - - [DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_1")] - public static extern IntPtr new_ESLconnection__SWIG_1(string jarg1, int jarg2, string jarg3); - - [DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_2")] - public static extern IntPtr new_ESLconnection__SWIG_2(string jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_3")] - public static extern IntPtr new_ESLconnection__SWIG_3(string jarg1, string jarg2, string jarg3); - - [DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_4")] - public static extern IntPtr new_ESLconnection__SWIG_4(int jarg1); - - [DllImport("ESL", EntryPoint="CSharp_delete_ESLconnection")] - public static extern void delete_ESLconnection(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_SocketDescriptor")] - public static extern int ESLconnection_SocketDescriptor(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_Connected")] - public static extern int ESLconnection_Connected(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_GetInfo")] - public static extern IntPtr ESLconnection_GetInfo(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_Send")] - public static extern int ESLconnection_Send(HandleRef jarg1, string jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_SendRecv")] - public static extern IntPtr ESLconnection_SendRecv(HandleRef jarg1, string jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_Api")] - public static extern IntPtr ESLconnection_Api(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_Bgapi")] - public static extern IntPtr ESLconnection_Bgapi(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_SendEvent")] - public static extern IntPtr ESLconnection_SendEvent(HandleRef jarg1, HandleRef jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_sendMSG")] - public static extern int ESLconnection_sendMSG(HandleRef jarg1, HandleRef jarg2, string jarg3); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_RecvEvent")] - public static extern IntPtr ESLconnection_RecvEvent(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_RecvEventTimed")] - public static extern IntPtr ESLconnection_RecvEventTimed(HandleRef jarg1, int jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_Filter")] - public static extern IntPtr ESLconnection_Filter(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_Events")] - public static extern int ESLconnection_Events(HandleRef jarg1, string jarg2, string jarg3); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_Execute")] - public static extern IntPtr ESLconnection_Execute(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_ExecuteAsync")] - public static extern IntPtr ESLconnection_ExecuteAsync(HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_SetAsyncExecute")] - public static extern int ESLconnection_SetAsyncExecute(HandleRef jarg1, string jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_SetEventLock")] - public static extern int ESLconnection_SetEventLock(HandleRef jarg1, string jarg2); - - [DllImport("ESL", EntryPoint="CSharp_ESLconnection_Disconnect")] - public static extern int ESLconnection_Disconnect(HandleRef jarg1); - - [DllImport("ESL", EntryPoint="CSharp_eslSetLogLevel")] - public static extern void eslSetLogLevel(int jarg1); -} diff --git a/libs/esl/managed/ESLPINVOKE.2015.cs b/libs/esl/managed/ESLPINVOKE.2015.cs new file mode 100644 index 0000000000..cf8082d436 --- /dev/null +++ b/libs/esl/managed/ESLPINVOKE.2015.cs @@ -0,0 +1,330 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + + +class ESLPINVOKE { + + protected class SWIGExceptionHelper { + + public delegate void ExceptionDelegate(string message); + public delegate void ExceptionArgumentDelegate(string message, string paramName); + + static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException); + static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException); + static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException); + static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException); + static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException); + static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException); + static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException); + static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException); + static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException); + static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException); + static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException); + + static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException); + static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException); + static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="SWIGRegisterExceptionCallbacks_ESL")] + public static extern void SWIGRegisterExceptionCallbacks_ESL( + ExceptionDelegate applicationDelegate, + ExceptionDelegate arithmeticDelegate, + ExceptionDelegate divideByZeroDelegate, + ExceptionDelegate indexOutOfRangeDelegate, + ExceptionDelegate invalidCastDelegate, + ExceptionDelegate invalidOperationDelegate, + ExceptionDelegate ioDelegate, + ExceptionDelegate nullReferenceDelegate, + ExceptionDelegate outOfMemoryDelegate, + ExceptionDelegate overflowDelegate, + ExceptionDelegate systemExceptionDelegate); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_ESL")] + public static extern void SWIGRegisterExceptionCallbacksArgument_ESL( + ExceptionArgumentDelegate argumentDelegate, + ExceptionArgumentDelegate argumentNullDelegate, + ExceptionArgumentDelegate argumentOutOfRangeDelegate); + + static void SetPendingApplicationException(string message) { + SWIGPendingException.Set(new global::System.ApplicationException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingArithmeticException(string message) { + SWIGPendingException.Set(new global::System.ArithmeticException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingDivideByZeroException(string message) { + SWIGPendingException.Set(new global::System.DivideByZeroException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingIndexOutOfRangeException(string message) { + SWIGPendingException.Set(new global::System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingInvalidCastException(string message) { + SWIGPendingException.Set(new global::System.InvalidCastException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingInvalidOperationException(string message) { + SWIGPendingException.Set(new global::System.InvalidOperationException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingIOException(string message) { + SWIGPendingException.Set(new global::System.IO.IOException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingNullReferenceException(string message) { + SWIGPendingException.Set(new global::System.NullReferenceException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingOutOfMemoryException(string message) { + SWIGPendingException.Set(new global::System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingOverflowException(string message) { + SWIGPendingException.Set(new global::System.OverflowException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingSystemException(string message) { + SWIGPendingException.Set(new global::System.SystemException(message, SWIGPendingException.Retrieve())); + } + + static void SetPendingArgumentException(string message, string paramName) { + SWIGPendingException.Set(new global::System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); + } + static void SetPendingArgumentNullException(string message, string paramName) { + global::System.Exception e = SWIGPendingException.Retrieve(); + if (e != null) message = message + " Inner Exception: " + e.Message; + SWIGPendingException.Set(new global::System.ArgumentNullException(paramName, message)); + } + static void SetPendingArgumentOutOfRangeException(string message, string paramName) { + global::System.Exception e = SWIGPendingException.Retrieve(); + if (e != null) message = message + " Inner Exception: " + e.Message; + SWIGPendingException.Set(new global::System.ArgumentOutOfRangeException(paramName, message)); + } + + static SWIGExceptionHelper() { + SWIGRegisterExceptionCallbacks_ESL( + applicationDelegate, + arithmeticDelegate, + divideByZeroDelegate, + indexOutOfRangeDelegate, + invalidCastDelegate, + invalidOperationDelegate, + ioDelegate, + nullReferenceDelegate, + outOfMemoryDelegate, + overflowDelegate, + systemDelegate); + + SWIGRegisterExceptionCallbacksArgument_ESL( + argumentDelegate, + argumentNullDelegate, + argumentOutOfRangeDelegate); + } + } + + protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper(); + + public class SWIGPendingException { + [global::System.ThreadStatic] + private static global::System.Exception pendingException = null; + private static int numExceptionsPending = 0; + + public static bool Pending { + get { + bool pending = false; + if (numExceptionsPending > 0) + if (pendingException != null) + pending = true; + return pending; + } + } + + public static void Set(global::System.Exception e) { + if (pendingException != null) + throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); + pendingException = e; + lock(typeof(ESLPINVOKE)) { + numExceptionsPending++; + } + } + + public static global::System.Exception Retrieve() { + global::System.Exception e = null; + if (numExceptionsPending > 0) { + if (pendingException != null) { + e = pendingException; + pendingException = null; + lock(typeof(ESLPINVOKE)) { + numExceptionsPending--; + } + } + } + return e; + } + } + + + protected class SWIGStringHelper { + + public delegate string SWIGStringDelegate(string message); + static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="SWIGRegisterStringCallback_ESL")] + public static extern void SWIGRegisterStringCallback_ESL(SWIGStringDelegate stringDelegate); + + static string CreateString(string cString) { + return cString; + } + + static SWIGStringHelper() { + SWIGRegisterStringCallback_ESL(stringDelegate); + } + } + + static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); + + + static ESLPINVOKE() { + } + + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_Event_set")] + public static extern void ESLevent_Event_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_Event_get")] + public static extern global::System.IntPtr ESLevent_Event_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_SerializedString_set")] + public static extern void ESLevent_SerializedString_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_SerializedString_get")] + public static extern string ESLevent_SerializedString_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_Mine_set")] + public static extern void ESLevent_Mine_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_Mine_get")] + public static extern int ESLevent_Mine_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_new_ESLevent__SWIG_0")] + public static extern global::System.IntPtr new_ESLevent__SWIG_0(string jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_new_ESLevent__SWIG_1")] + public static extern global::System.IntPtr new_ESLevent__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_new_ESLevent__SWIG_2")] + public static extern global::System.IntPtr new_ESLevent__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_delete_ESLevent")] + public static extern void delete_ESLevent(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_Serialize")] + public static extern string ESLevent_Serialize(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_SetPriority")] + public static extern bool ESLevent_SetPriority(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_GetHeader")] + public static extern string ESLevent_GetHeader(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_GetBody")] + public static extern string ESLevent_GetBody(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_getType")] + public static extern string ESLevent_getType(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_AddBody")] + public static extern bool ESLevent_AddBody(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_AddHeader")] + public static extern bool ESLevent_AddHeader(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_pushHeader")] + public static extern bool ESLevent_pushHeader(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_unshiftHeader")] + public static extern bool ESLevent_unshiftHeader(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_DelHeader")] + public static extern bool ESLevent_DelHeader(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_FirstHeader")] + public static extern string ESLevent_FirstHeader(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLevent_NextHeader")] + public static extern string ESLevent_NextHeader(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_0")] + public static extern global::System.IntPtr new_ESLconnection__SWIG_0(string jarg1, int jarg2, string jarg3, string jarg4); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_1")] + public static extern global::System.IntPtr new_ESLconnection__SWIG_1(string jarg1, int jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_2")] + public static extern global::System.IntPtr new_ESLconnection__SWIG_2(string jarg1, string jarg2, string jarg3, string jarg4); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_3")] + public static extern global::System.IntPtr new_ESLconnection__SWIG_3(string jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_new_ESLconnection__SWIG_4")] + public static extern global::System.IntPtr new_ESLconnection__SWIG_4(int jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_delete_ESLconnection")] + public static extern void delete_ESLconnection(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_SocketDescriptor")] + public static extern int ESLconnection_SocketDescriptor(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_Connected")] + public static extern int ESLconnection_Connected(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_GetInfo")] + public static extern global::System.IntPtr ESLconnection_GetInfo(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_Send")] + public static extern int ESLconnection_Send(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_SendRecv")] + public static extern global::System.IntPtr ESLconnection_SendRecv(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_Api")] + public static extern global::System.IntPtr ESLconnection_Api(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_Bgapi")] + public static extern global::System.IntPtr ESLconnection_Bgapi(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_SendEvent")] + public static extern global::System.IntPtr ESLconnection_SendEvent(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_sendMSG")] + public static extern int ESLconnection_sendMSG(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_RecvEvent")] + public static extern global::System.IntPtr ESLconnection_RecvEvent(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_RecvEventTimed")] + public static extern global::System.IntPtr ESLconnection_RecvEventTimed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_Filter")] + public static extern global::System.IntPtr ESLconnection_Filter(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_Events")] + public static extern int ESLconnection_Events(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_Execute")] + public static extern global::System.IntPtr ESLconnection_Execute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_ExecuteAsync")] + public static extern global::System.IntPtr ESLconnection_ExecuteAsync(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_SetAsyncExecute")] + public static extern int ESLconnection_SetAsyncExecute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_SetEventLock")] + public static extern int ESLconnection_SetEventLock(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_ESLconnection_Disconnect")] + public static extern int ESLconnection_Disconnect(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ESL", EntryPoint="CSharp_eslSetLogLevel")] + public static extern void eslSetLogLevel(int jarg1); +} diff --git a/libs/esl/managed/ESLPINVOKE.cs b/libs/esl/managed/ESLPINVOKE.cs index b00dad06ec..cf8082d436 100644 --- a/libs/esl/managed/ESLPINVOKE.cs +++ b/libs/esl/managed/ESLPINVOKE.cs @@ -1,10 +1,12 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.2 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ class ESLPINVOKE { diff --git a/libs/esl/managed/ESLconnection.2015.cs b/libs/esl/managed/ESLconnection.2015.cs new file mode 100644 index 0000000000..dad2ace4ab --- /dev/null +++ b/libs/esl/managed/ESLconnection.2015.cs @@ -0,0 +1,157 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + + +public class ESLconnection : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal ESLconnection(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ESLconnection obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~ESLconnection() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + ESLPINVOKE.delete_ESLconnection(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public ESLconnection(string host, int port, string user, string password) : this(ESLPINVOKE.new_ESLconnection__SWIG_0(host, port, user, password), true) { + } + + public ESLconnection(string host, int port, string password) : this(ESLPINVOKE.new_ESLconnection__SWIG_1(host, port, password), true) { + } + + public ESLconnection(string host, string port, string user, string password) : this(ESLPINVOKE.new_ESLconnection__SWIG_2(host, port, user, password), true) { + } + + public ESLconnection(string host, string port, string password) : this(ESLPINVOKE.new_ESLconnection__SWIG_3(host, port, password), true) { + } + + public ESLconnection(int socket) : this(ESLPINVOKE.new_ESLconnection__SWIG_4(socket), true) { + } + + public int SocketDescriptor() { + int ret = ESLPINVOKE.ESLconnection_SocketDescriptor(swigCPtr); + return ret; + } + + public int Connected() { + int ret = ESLPINVOKE.ESLconnection_Connected(swigCPtr); + return ret; + } + + public ESLevent GetInfo() { + global::System.IntPtr cPtr = ESLPINVOKE.ESLconnection_GetInfo(swigCPtr); + ESLevent ret = (cPtr == global::System.IntPtr.Zero) ? null : new ESLevent(cPtr, true); + return ret; + } + + public int Send(string cmd) { + int ret = ESLPINVOKE.ESLconnection_Send(swigCPtr, cmd); + return ret; + } + + public ESLevent SendRecv(string cmd) { + global::System.IntPtr cPtr = ESLPINVOKE.ESLconnection_SendRecv(swigCPtr, cmd); + ESLevent ret = (cPtr == global::System.IntPtr.Zero) ? null : new ESLevent(cPtr, true); + return ret; + } + + public ESLevent Api(string cmd, string arg) { + global::System.IntPtr cPtr = ESLPINVOKE.ESLconnection_Api(swigCPtr, cmd, arg); + ESLevent ret = (cPtr == global::System.IntPtr.Zero) ? null : new ESLevent(cPtr, true); + return ret; + } + + public ESLevent Bgapi(string cmd, string arg, string job_uuid) { + global::System.IntPtr cPtr = ESLPINVOKE.ESLconnection_Bgapi(swigCPtr, cmd, arg, job_uuid); + ESLevent ret = (cPtr == global::System.IntPtr.Zero) ? null : new ESLevent(cPtr, true); + return ret; + } + + public ESLevent SendEvent(ESLevent send_me) { + global::System.IntPtr cPtr = ESLPINVOKE.ESLconnection_SendEvent(swigCPtr, ESLevent.getCPtr(send_me)); + ESLevent ret = (cPtr == global::System.IntPtr.Zero) ? null : new ESLevent(cPtr, true); + return ret; + } + + public int sendMSG(ESLevent send_me, string uuid) { + int ret = ESLPINVOKE.ESLconnection_sendMSG(swigCPtr, ESLevent.getCPtr(send_me), uuid); + return ret; + } + + public ESLevent RecvEvent() { + global::System.IntPtr cPtr = ESLPINVOKE.ESLconnection_RecvEvent(swigCPtr); + ESLevent ret = (cPtr == global::System.IntPtr.Zero) ? null : new ESLevent(cPtr, true); + return ret; + } + + public ESLevent RecvEventTimed(int ms) { + global::System.IntPtr cPtr = ESLPINVOKE.ESLconnection_RecvEventTimed(swigCPtr, ms); + ESLevent ret = (cPtr == global::System.IntPtr.Zero) ? null : new ESLevent(cPtr, true); + return ret; + } + + public ESLevent Filter(string header, string value) { + global::System.IntPtr cPtr = ESLPINVOKE.ESLconnection_Filter(swigCPtr, header, value); + ESLevent ret = (cPtr == global::System.IntPtr.Zero) ? null : new ESLevent(cPtr, true); + return ret; + } + + public int Events(string etype, string value) { + int ret = ESLPINVOKE.ESLconnection_Events(swigCPtr, etype, value); + return ret; + } + + public ESLevent Execute(string app, string arg, string uuid) { + global::System.IntPtr cPtr = ESLPINVOKE.ESLconnection_Execute(swigCPtr, app, arg, uuid); + ESLevent ret = (cPtr == global::System.IntPtr.Zero) ? null : new ESLevent(cPtr, true); + return ret; + } + + public ESLevent ExecuteAsync(string app, string arg, string uuid) { + global::System.IntPtr cPtr = ESLPINVOKE.ESLconnection_ExecuteAsync(swigCPtr, app, arg, uuid); + ESLevent ret = (cPtr == global::System.IntPtr.Zero) ? null : new ESLevent(cPtr, true); + return ret; + } + + public int SetAsyncExecute(string val) { + int ret = ESLPINVOKE.ESLconnection_SetAsyncExecute(swigCPtr, val); + return ret; + } + + public int SetEventLock(string val) { + int ret = ESLPINVOKE.ESLconnection_SetEventLock(swigCPtr, val); + return ret; + } + + public int Disconnect() { + int ret = ESLPINVOKE.ESLconnection_Disconnect(swigCPtr); + return ret; + } + +} diff --git a/libs/esl/managed/ESLconnection.cs b/libs/esl/managed/ESLconnection.cs index e1c43d6b32..dad2ace4ab 100644 --- a/libs/esl/managed/ESLconnection.cs +++ b/libs/esl/managed/ESLconnection.cs @@ -1,10 +1,12 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.2 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ public class ESLconnection : global::System.IDisposable { diff --git a/libs/esl/managed/ESLevent.2010.cs b/libs/esl/managed/ESLevent.2015.cs similarity index 70% rename from libs/esl/managed/ESLevent.2010.cs rename to libs/esl/managed/ESLevent.2015.cs index 1ec47dfc77..1a72106285 100644 --- a/libs/esl/managed/ESLevent.2010.cs +++ b/libs/esl/managed/ESLevent.2015.cs @@ -1,144 +1,143 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class ESLevent : IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - - internal ESLevent(IntPtr cPtr, bool cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = new HandleRef(this, cPtr); - } - - internal static HandleRef getCPtr(ESLevent obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - - ~ESLevent() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - ESLPINVOKE.delete_ESLevent(swigCPtr); - } - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - GC.SuppressFinalize(this); - } - } - - public SWIGTYPE_p_esl_event_t Event { - set { - ESLPINVOKE.ESLevent_Event_set(swigCPtr, SWIGTYPE_p_esl_event_t.getCPtr(value)); - } - get { - IntPtr cPtr = ESLPINVOKE.ESLevent_Event_get(swigCPtr); - SWIGTYPE_p_esl_event_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_esl_event_t(cPtr, false); - return ret; - } - } - - public string SerializedString { - set { - ESLPINVOKE.ESLevent_SerializedString_set(swigCPtr, value); - } - get { - string ret = ESLPINVOKE.ESLevent_SerializedString_get(swigCPtr); - return ret; - } - } - - public int Mine { - set { - ESLPINVOKE.ESLevent_Mine_set(swigCPtr, value); - } - get { - int ret = ESLPINVOKE.ESLevent_Mine_get(swigCPtr); - return ret; - } - } - - public ESLevent(string type, string subclass_name) : this(ESLPINVOKE.new_ESLevent__SWIG_0(type, subclass_name), true) { - } - - public ESLevent(SWIGTYPE_p_esl_event_t wrap_me, int free_me) : this(ESLPINVOKE.new_ESLevent__SWIG_1(SWIGTYPE_p_esl_event_t.getCPtr(wrap_me), free_me), true) { - } - - public ESLevent(ESLevent me) : this(ESLPINVOKE.new_ESLevent__SWIG_2(ESLevent.getCPtr(me)), true) { - } - - public string Serialize(string format) { - string ret = ESLPINVOKE.ESLevent_Serialize(swigCPtr, format); - return ret; - } - - public bool SetPriority(SWIGTYPE_p_esl_priority_t priority) { - bool ret = ESLPINVOKE.ESLevent_SetPriority(swigCPtr, SWIGTYPE_p_esl_priority_t.getCPtr(priority)); - if (ESLPINVOKE.SWIGPendingException.Pending) throw ESLPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string GetHeader(string header_name, int idx) { - string ret = ESLPINVOKE.ESLevent_GetHeader(swigCPtr, header_name, idx); - return ret; - } - - public string GetBody() { - string ret = ESLPINVOKE.ESLevent_GetBody(swigCPtr); - return ret; - } - - public string getType() { - string ret = ESLPINVOKE.ESLevent_getType(swigCPtr); - return ret; - } - - public bool AddBody(string value) { - bool ret = ESLPINVOKE.ESLevent_AddBody(swigCPtr, value); - return ret; - } - - public bool AddHeader(string header_name, string value) { - bool ret = ESLPINVOKE.ESLevent_AddHeader(swigCPtr, header_name, value); - return ret; - } - - public bool pushHeader(string header_name, string value) { - bool ret = ESLPINVOKE.ESLevent_pushHeader(swigCPtr, header_name, value); - return ret; - } - - public bool unshiftHeader(string header_name, string value) { - bool ret = ESLPINVOKE.ESLevent_unshiftHeader(swigCPtr, header_name, value); - return ret; - } - - public bool DelHeader(string header_name) { - bool ret = ESLPINVOKE.ESLevent_DelHeader(swigCPtr, header_name); - return ret; - } - - public string FirstHeader() { - string ret = ESLPINVOKE.ESLevent_FirstHeader(swigCPtr); - return ret; - } - - public string NextHeader() { - string ret = ESLPINVOKE.ESLevent_NextHeader(swigCPtr); - return ret; - } - -} +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + + +public class ESLevent : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal ESLevent(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ESLevent obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + ~ESLevent() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + ESLPINVOKE.delete_ESLevent(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public SWIGTYPE_p_esl_event_t Event { + set { + ESLPINVOKE.ESLevent_Event_set(swigCPtr, SWIGTYPE_p_esl_event_t.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = ESLPINVOKE.ESLevent_Event_get(swigCPtr); + SWIGTYPE_p_esl_event_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_esl_event_t(cPtr, false); + return ret; + } + } + + public string SerializedString { + set { + ESLPINVOKE.ESLevent_SerializedString_set(swigCPtr, value); + } + get { + string ret = ESLPINVOKE.ESLevent_SerializedString_get(swigCPtr); + return ret; + } + } + + public int Mine { + set { + ESLPINVOKE.ESLevent_Mine_set(swigCPtr, value); + } + get { + int ret = ESLPINVOKE.ESLevent_Mine_get(swigCPtr); + return ret; + } + } + + public ESLevent(string type, string subclass_name) : this(ESLPINVOKE.new_ESLevent__SWIG_0(type, subclass_name), true) { + } + + public ESLevent(SWIGTYPE_p_esl_event_t wrap_me, int free_me) : this(ESLPINVOKE.new_ESLevent__SWIG_1(SWIGTYPE_p_esl_event_t.getCPtr(wrap_me), free_me), true) { + } + + public ESLevent(ESLevent me) : this(ESLPINVOKE.new_ESLevent__SWIG_2(ESLevent.getCPtr(me)), true) { + } + + public string Serialize(string format) { + string ret = ESLPINVOKE.ESLevent_Serialize(swigCPtr, format); + return ret; + } + + public bool SetPriority(SWIGTYPE_p_esl_priority_t priority) { + bool ret = ESLPINVOKE.ESLevent_SetPriority(swigCPtr, SWIGTYPE_p_esl_priority_t.getCPtr(priority)); + if (ESLPINVOKE.SWIGPendingException.Pending) throw ESLPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string GetHeader(string header_name, int idx) { + string ret = ESLPINVOKE.ESLevent_GetHeader(swigCPtr, header_name, idx); + return ret; + } + + public string GetBody() { + string ret = ESLPINVOKE.ESLevent_GetBody(swigCPtr); + return ret; + } + + public string getType() { + string ret = ESLPINVOKE.ESLevent_getType(swigCPtr); + return ret; + } + + public bool AddBody(string value) { + bool ret = ESLPINVOKE.ESLevent_AddBody(swigCPtr, value); + return ret; + } + + public bool AddHeader(string header_name, string value) { + bool ret = ESLPINVOKE.ESLevent_AddHeader(swigCPtr, header_name, value); + return ret; + } + + public bool pushHeader(string header_name, string value) { + bool ret = ESLPINVOKE.ESLevent_pushHeader(swigCPtr, header_name, value); + return ret; + } + + public bool unshiftHeader(string header_name, string value) { + bool ret = ESLPINVOKE.ESLevent_unshiftHeader(swigCPtr, header_name, value); + return ret; + } + + public bool DelHeader(string header_name) { + bool ret = ESLPINVOKE.ESLevent_DelHeader(swigCPtr, header_name); + return ret; + } + + public string FirstHeader() { + string ret = ESLPINVOKE.ESLevent_FirstHeader(swigCPtr); + return ret; + } + + public string NextHeader() { + string ret = ESLPINVOKE.ESLevent_NextHeader(swigCPtr); + return ret; + } + +} diff --git a/libs/esl/managed/ESLevent.cs b/libs/esl/managed/ESLevent.cs index 2fcb062c85..1a72106285 100644 --- a/libs/esl/managed/ESLevent.cs +++ b/libs/esl/managed/ESLevent.cs @@ -1,10 +1,12 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.2 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ public class ESLevent : global::System.IDisposable { diff --git a/libs/esl/managed/ManagedEsl.2010.csproj b/libs/esl/managed/ManagedEsl.2010.csproj deleted file mode 100644 index 732b707988..0000000000 --- a/libs/esl/managed/ManagedEsl.2010.csproj +++ /dev/null @@ -1,93 +0,0 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {DEE5837B-E01D-4223-B351-EDF9418F3F8E} - Library - Properties - ManagedEsl - ManagedEsl - v4.0 - 512 - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - - true - full - false - Debug\ - DEBUG;TRACE - prompt - 4 - AllRules.ruleset - - - pdbonly - true - Release\ - TRACE - prompt - 4 - AllRules.ruleset - - - - - - - - - - - - - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - \ No newline at end of file diff --git a/libs/esl/managed/ManagedEsl.2012.csproj b/libs/esl/managed/ManagedEsl.2015.csproj similarity index 89% rename from libs/esl/managed/ManagedEsl.2012.csproj rename to libs/esl/managed/ManagedEsl.2015.csproj index f08c560db2..ce00513255 100644 --- a/libs/esl/managed/ManagedEsl.2012.csproj +++ b/libs/esl/managed/ManagedEsl.2015.csproj @@ -1,93 +1,95 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {DEE5837B-E01D-4223-B351-EDF9418F3F8E} - Library - Properties - ManagedEsl - ManagedEsl - v4.0 - 512 - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - - true - full - false - Debug\ - DEBUG;TRACE - prompt - 4 - AllRules.ruleset - - - pdbonly - true - Release\ - TRACE - prompt - 4 - AllRules.ruleset - - - - - - - - - - - - - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - \ No newline at end of file + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {DEE5837B-E01D-4223-B351-EDF9418F3F8E} + Library + Properties + ManagedEsl + ManagedEsl + v4.0 + 512 + + + 3.5 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + true + full + false + Debug\ + DEBUG;TRACE + prompt + 4 + AllRules.ruleset + false + + + pdbonly + true + Release\ + TRACE + prompt + 4 + AllRules.ruleset + false + + + + + + + + + + + + + + + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + true + + + False + Windows Installer 3.1 + true + + + + + diff --git a/libs/esl/managed/managed_esl.2012.sln b/libs/esl/managed/ManagedEsl.2015.sln similarity index 50% rename from libs/esl/managed/managed_esl.2012.sln rename to libs/esl/managed/ManagedEsl.2015.sln index 66d2a1cab0..25bfba8cb2 100644 --- a/libs/esl/managed/managed_esl.2012.sln +++ b/libs/esl/managed/ManagedEsl.2015.sln @@ -1,52 +1,75 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ESL", "ESL.2012.vcxproj", "{FEA2D0AE-6713-4E41-A473-A143849BC7FF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedEsl.2012", "ManagedEsl.2012.csproj", "{DEE5837B-E01D-4223-B351-EDF9418F3F8E}" - ProjectSection(ProjectDependencies) = postProject - {FEA2D0AE-6713-4E41-A473-A143849BC7FF} = {FEA2D0AE-6713-4E41-A473-A143849BC7FF} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedEslTest.2012", "ManagedEslTest\ManagedEslTest.2012.csproj", "{2321D01A-D64B-4461-9837-FACF38652212}" - ProjectSection(ProjectDependencies) = postProject - {FEA2D0AE-6713-4E41-A473-A143849BC7FF} = {FEA2D0AE-6713-4E41-A473-A143849BC7FF} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Win32.ActiveCfg = Debug|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Win32.Build.0 = Debug|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|x64.ActiveCfg = Debug|x64 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|x64.Build.0 = Debug|x64 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Win32.ActiveCfg = Release|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Win32.Build.0 = Release|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|x64.ActiveCfg = Release|x64 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|x64.Build.0 = Release|x64 - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Win32.ActiveCfg = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Win32.Build.0 = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|x64.ActiveCfg = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|x64.Build.0 = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Win32.ActiveCfg = Release|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Win32.Build.0 = Release|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|x64.ActiveCfg = Release|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|x64.Build.0 = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Win32.ActiveCfg = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Win32.Build.0 = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|x64.ActiveCfg = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|x64.Build.0 = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|Win32.ActiveCfg = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|Win32.Build.0 = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|x64.ActiveCfg = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|x64.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedEsl.2015", "ManagedEsl.2015.csproj", "{DEE5837B-E01D-4223-B351-EDF9418F3F8E}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedEslTest.2015", "ManagedEslTest\ManagedEslTest.2015.csproj", "{2321D01A-D64B-4461-9837-FACF38652212}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ESL", "esl.2015.vcxproj", "{FEA2D0AE-6713-4E41-A473-A143849BC7FF}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libesl", "..\src\libesl.2015.vcxproj", "{CF405366-9558-4AE8-90EF-5E21B51CCB4E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Any CPU = Release|Any CPU + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Win32.ActiveCfg = Debug|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Win32.Build.0 = Debug|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|x64.ActiveCfg = Debug|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|x64.Build.0 = Debug|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Any CPU.Build.0 = Release|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Win32.ActiveCfg = Release|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Win32.Build.0 = Release|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|x64.ActiveCfg = Release|Any CPU + {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|x64.Build.0 = Release|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Win32.ActiveCfg = Debug|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Win32.Build.0 = Debug|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Debug|x64.ActiveCfg = Debug|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Debug|x64.Build.0 = Debug|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Release|Any CPU.Build.0 = Release|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Release|Win32.ActiveCfg = Release|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Release|Win32.Build.0 = Release|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Release|x64.ActiveCfg = Release|Any CPU + {2321D01A-D64B-4461-9837-FACF38652212}.Release|x64.Build.0 = Release|Any CPU + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Any CPU.ActiveCfg = Debug|x64 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Any CPU.Build.0 = Debug|x64 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Win32.ActiveCfg = Debug|Win32 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Win32.Build.0 = Debug|Win32 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|x64.ActiveCfg = Debug|x64 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|x64.Build.0 = Debug|x64 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Any CPU.ActiveCfg = Release|x64 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Any CPU.Build.0 = Release|x64 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Win32.ActiveCfg = Release|Win32 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Win32.Build.0 = Release|Win32 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|x64.ActiveCfg = Release|x64 + {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|x64.Build.0 = Release|x64 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Debug|Any CPU.ActiveCfg = Debug|x64 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Debug|Any CPU.Build.0 = Debug|x64 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Debug|Win32.ActiveCfg = Debug|Win32 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Debug|Win32.Build.0 = Debug|Win32 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Debug|x64.ActiveCfg = Debug|x64 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Debug|x64.Build.0 = Debug|x64 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Release|Any CPU.ActiveCfg = Release|x64 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Release|Any CPU.Build.0 = Release|x64 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Release|Win32.ActiveCfg = Release|Win32 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Release|Win32.Build.0 = Release|Win32 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Release|x64.ActiveCfg = Release|x64 + {CF405366-9558-4AE8-90EF-5E21B51CCB4E}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/libs/esl/managed/ManagedEsl.csproj b/libs/esl/managed/ManagedEsl.csproj deleted file mode 100644 index 25491c73f7..0000000000 --- a/libs/esl/managed/ManagedEsl.csproj +++ /dev/null @@ -1,56 +0,0 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {DEE5837B-E01D-4223-B351-EDF9418F3F8E} - Library - Properties - ManagedEsl - ManagedEsl - v2.0 - 512 - - - - - true - full - false - Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - Release\ - TRACE - prompt - 4 - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/libs/esl/managed/ManagedEslTest/.gitignore b/libs/esl/managed/ManagedEslTest/.gitignore new file mode 100644 index 0000000000..33fc3188ff --- /dev/null +++ b/libs/esl/managed/ManagedEslTest/.gitignore @@ -0,0 +1 @@ +app.config diff --git a/libs/esl/managed/ManagedEslTest/ManagedEslTest.2010.csproj b/libs/esl/managed/ManagedEslTest/ManagedEslTest.2010.csproj deleted file mode 100644 index 737d558189..0000000000 --- a/libs/esl/managed/ManagedEslTest/ManagedEslTest.2010.csproj +++ /dev/null @@ -1,99 +0,0 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {2321D01A-D64B-4461-9837-FACF38652212} - Exe - Properties - ManagedEslTest - ManagedEslTest - v4.0 - 512 - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - - true - full - false - ..\Debug\ - DEBUG;TRACE - prompt - 4 - AllRules.ruleset - - - pdbonly - true - ..\Release\ - TRACE - prompt - 4 - AllRules.ruleset - - - - - - - - - - - - {FEA2D0AE-6713-4E41-A473-A143849BC7FF} - ESL - - - {DEE5837B-E01D-4223-B351-EDF9418F3F8E} - ManagedEsl - True - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - \ No newline at end of file diff --git a/libs/esl/managed/ManagedEslTest/ManagedEslTest.2012.csproj b/libs/esl/managed/ManagedEslTest/ManagedEslTest.2015.csproj similarity index 93% rename from libs/esl/managed/ManagedEslTest/ManagedEslTest.2012.csproj rename to libs/esl/managed/ManagedEslTest/ManagedEslTest.2015.csproj index 39ab1f01b7..f91e97df5d 100644 --- a/libs/esl/managed/ManagedEslTest/ManagedEslTest.2012.csproj +++ b/libs/esl/managed/ManagedEslTest/ManagedEslTest.2015.csproj @@ -1,99 +1,101 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {2321D01A-D64B-4461-9837-FACF38652212} - Exe - Properties - ManagedEslTest - ManagedEslTest - v4.0 - 512 - - - 3.5 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - - true - full - false - ..\Debug\ - DEBUG;TRACE - prompt - 4 - AllRules.ruleset - - - pdbonly - true - ..\Release\ - TRACE - prompt - 4 - AllRules.ruleset - - - - - - - - - - - - {fea2d0ae-6713-4e41-a473-a143849bc7ff} - ESL - - - {DEE5837B-E01D-4223-B351-EDF9418F3F8E} - ManagedEsl - True - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - - - - - \ No newline at end of file + + + + Debug + AnyCPU + 9.0.30729 + 2.0 + {2321D01A-D64B-4461-9837-FACF38652212} + Exe + Properties + ManagedEslTest + ManagedEslTest + v4.0 + 512 + + + 3.5 + + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true + + + + true + full + false + ..\Debug\ + DEBUG;TRACE + prompt + 4 + AllRules.ruleset + false + + + pdbonly + true + ..\Release\ + TRACE + prompt + 4 + AllRules.ruleset + false + + + + + + + + + + + + {fea2d0ae-6713-4e41-a473-a143849bc7ff} + ESL + + + {DEE5837B-E01D-4223-B351-EDF9418F3F8E} + ManagedEsl + True + + + + + False + .NET Framework 3.5 SP1 Client Profile + false + + + False + .NET Framework 3.5 SP1 + true + + + False + Windows Installer 3.1 + true + + + + + diff --git a/libs/esl/managed/ManagedEslTest/ManagedEslTest.csproj b/libs/esl/managed/ManagedEslTest/ManagedEslTest.csproj deleted file mode 100644 index c311fd7476..0000000000 --- a/libs/esl/managed/ManagedEslTest/ManagedEslTest.csproj +++ /dev/null @@ -1,58 +0,0 @@ - - - - Debug - AnyCPU - 9.0.30729 - 2.0 - {2321D01A-D64B-4461-9837-FACF38652212} - Exe - Properties - ManagedEslTest - ManagedEslTest - v2.0 - 512 - - - - - true - full - false - ..\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - ..\Release\ - TRACE - prompt - 4 - - - - - - - - - - - - {DEE5837B-E01D-4223-B351-EDF9418F3F8E} - ManagedEsl - True - - - - - \ No newline at end of file diff --git a/libs/esl/managed/ManagedEslTest/Properties/AssemblyInfo.cs b/libs/esl/managed/ManagedEslTest/Properties/AssemblyInfo.cs index 2d46d2ab12..41ad8e83c7 100644 --- a/libs/esl/managed/ManagedEslTest/Properties/AssemblyInfo.cs +++ b/libs/esl/managed/ManagedEslTest/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ManagedEslTest")] -[assembly: AssemblyCopyright("Copyright © 2010")] +[assembly: AssemblyCopyright("Copyright © 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/libs/esl/managed/Properties/AssemblyInfo.cs b/libs/esl/managed/Properties/AssemblyInfo.cs index 433b35bbc3..f187076152 100644 --- a/libs/esl/managed/Properties/AssemblyInfo.cs +++ b/libs/esl/managed/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ using System.Runtime.InteropServices; [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("ManagedEsl")] -[assembly: AssemblyCopyright("Copyright © 2010")] +[assembly: AssemblyCopyright("Copyright © 2018")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] diff --git a/libs/esl/managed/SWIGTYPE_p_esl_event_t.2010.cs b/libs/esl/managed/SWIGTYPE_p_esl_event_t.2010.cs deleted file mode 100644 index ddf3ec143d..0000000000 --- a/libs/esl/managed/SWIGTYPE_p_esl_event_t.2010.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_esl_event_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_esl_event_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_esl_event_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_esl_event_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/libs/esl/managed/SWIGTYPE_p_esl_event_t.2015.cs b/libs/esl/managed/SWIGTYPE_p_esl_event_t.2015.cs new file mode 100644 index 0000000000..2e60d1922c --- /dev/null +++ b/libs/esl/managed/SWIGTYPE_p_esl_event_t.2015.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + + +public class SWIGTYPE_p_esl_event_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_esl_event_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_esl_event_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_esl_event_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} diff --git a/libs/esl/managed/SWIGTYPE_p_esl_event_t.cs b/libs/esl/managed/SWIGTYPE_p_esl_event_t.cs index 9e257c5e8c..2e60d1922c 100644 --- a/libs/esl/managed/SWIGTYPE_p_esl_event_t.cs +++ b/libs/esl/managed/SWIGTYPE_p_esl_event_t.cs @@ -1,10 +1,12 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.2 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ public class SWIGTYPE_p_esl_event_t { diff --git a/libs/esl/managed/SWIGTYPE_p_esl_priority_t.2010.cs b/libs/esl/managed/SWIGTYPE_p_esl_priority_t.2010.cs deleted file mode 100644 index 811d460362..0000000000 --- a/libs/esl/managed/SWIGTYPE_p_esl_priority_t.2010.cs +++ /dev/null @@ -1,27 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class SWIGTYPE_p_esl_priority_t { - private HandleRef swigCPtr; - - internal SWIGTYPE_p_esl_priority_t(IntPtr cPtr, bool futureUse) { - swigCPtr = new HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_esl_priority_t() { - swigCPtr = new HandleRef(null, IntPtr.Zero); - } - - internal static HandleRef getCPtr(SWIGTYPE_p_esl_priority_t obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } -} diff --git a/libs/esl/managed/SWIGTYPE_p_esl_priority_t.2015.cs b/libs/esl/managed/SWIGTYPE_p_esl_priority_t.2015.cs new file mode 100644 index 0000000000..e7c043d074 --- /dev/null +++ b/libs/esl/managed/SWIGTYPE_p_esl_priority_t.2015.cs @@ -0,0 +1,26 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + + +public class SWIGTYPE_p_esl_priority_t { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_esl_priority_t(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_esl_priority_t() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_esl_priority_t obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} diff --git a/libs/esl/managed/SWIGTYPE_p_esl_priority_t.cs b/libs/esl/managed/SWIGTYPE_p_esl_priority_t.cs index 0ed478d2e2..e7c043d074 100644 --- a/libs/esl/managed/SWIGTYPE_p_esl_priority_t.cs +++ b/libs/esl/managed/SWIGTYPE_p_esl_priority_t.cs @@ -1,10 +1,12 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.2 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ public class SWIGTYPE_p_esl_priority_t { diff --git a/libs/esl/managed/esl.2010.cs b/libs/esl/managed/esl.2010.cs deleted file mode 100644 index f9ed10a9df..0000000000 --- a/libs/esl/managed/esl.2010.cs +++ /dev/null @@ -1,18 +0,0 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.1 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - - -using System; -using System.Runtime.InteropServices; - -public class ESL { - public static void eslSetLogLevel(int level) { - ESLPINVOKE.eslSetLogLevel(level); - } - -} diff --git a/libs/esl/managed/esl.2015.cs b/libs/esl/managed/esl.2015.cs new file mode 100644 index 0000000000..27de939b10 --- /dev/null +++ b/libs/esl/managed/esl.2015.cs @@ -0,0 +1,17 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (http://www.swig.org). +// Version 3.0.12 +// +// Do not make changes to this file unless you know what you are doing--modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + + +public class ESL { + public static void eslSetLogLevel(int level) { + ESLPINVOKE.eslSetLogLevel(level); + } + +} diff --git a/libs/esl/managed/esl.2015.vcxproj b/libs/esl/managed/esl.2015.vcxproj new file mode 100644 index 0000000000..bfa550b905 --- /dev/null +++ b/libs/esl/managed/esl.2015.vcxproj @@ -0,0 +1,216 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + ESL + {FEA2D0AE-6713-4E41-A473-A143849BC7FF} + ESL + ManagedCProj + 8.1 + + + + DynamicLibrary + Unicode + true + true + v140 + + + DynamicLibrary + MultiByte + true + v140 + + + DynamicLibrary + Unicode + true + true + v140 + + + DynamicLibrary + MultiByte + true + v140 + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Configuration)\ + true + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Configuration)\ + false + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + true + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + false + AllRules.ruleset + + + AllRules.ruleset + + + AllRules.ruleset + + + AllRules.ruleset + + + + + + CJSON_HIDE_SYMBOLS;%(PreprocessorDefinitions) + + + + + Disabled + ..\src\include;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;%(PreprocessorDefinitions) + MultiThreadedDebugDLL + + + Level4 + ProgramDatabase + + + Ws2_32.lib;%(AdditionalDependencies) + ..\..\..\libs\esl\src\$(Platform)\$(Configuration)\;%(AdditionalLibraryDirectories) + true + true + NotSet + + + + + ..\src\include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;%(PreprocessorDefinitions) + MultiThreadedDLL + + + Level3 + ProgramDatabase + + + Ws2_32.lib;%(AdditionalDependencies) + ..\..\..\libs\esl\src\$(Platform)\$(Configuration)\;%(AdditionalLibraryDirectories) + true + MachineX86 + + + + + X64 + + + Disabled + ..\src\include;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;%(PreprocessorDefinitions) + MultiThreadedDebugDLL + + + Level4 + ProgramDatabase + + + Ws2_32.lib;%(AdditionalDependencies) + ..\..\..\libs\esl\src\$(Platform)\$(Configuration)\;%(AdditionalLibraryDirectories) + true + true + MachineX64 + + + + + X64 + + + ..\src\include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;%(PreprocessorDefinitions) + MultiThreadedDLL + + + Level3 + ProgramDatabase + + + Ws2_32.lib;%(AdditionalDependencies) + ..\..\..\libs\esl\src\$(Platform)\$(Configuration)\;%(AdditionalLibraryDirectories) + true + MachineX64 + + + + + true + true + + + true + true + + + true + true + + + + + false + + + false + + + + + + + + + + {CF405366-9558-4AE8-90EF-5E21B51CCB4E} + + + + + + diff --git a/libs/esl/managed/esl_wrap.2015.cpp b/libs/esl/managed/esl_wrap.2015.cpp new file mode 100644 index 0000000000..adce6159a0 --- /dev/null +++ b/libs/esl/managed/esl_wrap.2015.cpp @@ -0,0 +1,967 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * This file is not intended to be easily readable and contains a number of + * coding conventions designed to improve portability and efficiency. Do not make + * changes to this file unless you know what you are doing--modify the SWIG + * interface file instead. + * ----------------------------------------------------------------------------- */ + + +#ifndef SWIGCSHARP +#define SWIGCSHARP +#endif + + + +#ifdef __cplusplus +/* SwigValueWrapper is described in swig.swg */ +template class SwigValueWrapper { + struct SwigMovePointer { + T *ptr; + SwigMovePointer(T *p) : ptr(p) { } + ~SwigMovePointer() { delete ptr; } + SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } + } pointer; + SwigValueWrapper& operator=(const SwigValueWrapper& rhs); + SwigValueWrapper(const SwigValueWrapper& rhs); +public: + SwigValueWrapper() : pointer(0) { } + SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } + operator T&() const { return *pointer.ptr; } + T *operator&() { return pointer.ptr; } +}; + +template T SwigValueInit() { + return T(); +} +#endif + +/* ----------------------------------------------------------------------------- + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * ----------------------------------------------------------------------------- */ + +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template +# elif defined(__HP_aCC) +/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ +/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ +# define SWIGTEMPLATEDISAMBIGUATOR template +# else +# define SWIGTEMPLATEDISAMBIGUATOR +# endif +#endif + +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) +# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif +# elif defined(__ICC) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif +#endif + +#ifndef SWIG_MSC_UNSUPPRESS_4505 +# if defined(_MSC_VER) +# pragma warning(disable : 4505) /* unreferenced local function has been removed */ +# endif +#endif + +#ifndef SWIGUNUSEDPARM +# ifdef __cplusplus +# define SWIGUNUSEDPARM(p) +# else +# define SWIGUNUSEDPARM(p) p SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods */ +#if defined(__GNUC__) +# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) +# ifndef GCC_HASCLASSVISIBILITY +# define GCC_HASCLASSVISIBILITY +# endif +# endif +#endif + +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) +# define SWIGEXPORT __attribute__ ((visibility("default"))) +# else +# define SWIGEXPORT +# endif +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + +/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ +#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) +# define _CRT_SECURE_NO_DEPRECATE +#endif + +/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ +#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) +# define _SCL_SECURE_NO_DEPRECATE +#endif + +/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */ +#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) +# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 +#endif + +/* Intel's compiler complains if a variable which was never initialised is + * cast to void, which is a common idiom which we use to indicate that we + * are aware a variable isn't used. So we just silence that warning. + * See: https://github.com/swig/swig/issues/192 for more discussion. + */ +#ifdef __INTEL_COMPILER +# pragma warning disable 592 +#endif + + +#include +#include +#include + + +/* Support for throwing C# exceptions from C/C++. There are two types: + * Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */ +typedef enum { + SWIG_CSharpApplicationException, + SWIG_CSharpArithmeticException, + SWIG_CSharpDivideByZeroException, + SWIG_CSharpIndexOutOfRangeException, + SWIG_CSharpInvalidCastException, + SWIG_CSharpInvalidOperationException, + SWIG_CSharpIOException, + SWIG_CSharpNullReferenceException, + SWIG_CSharpOutOfMemoryException, + SWIG_CSharpOverflowException, + SWIG_CSharpSystemException +} SWIG_CSharpExceptionCodes; + +typedef enum { + SWIG_CSharpArgumentException, + SWIG_CSharpArgumentNullException, + SWIG_CSharpArgumentOutOfRangeException +} SWIG_CSharpExceptionArgumentCodes; + +typedef void (SWIGSTDCALL* SWIG_CSharpExceptionCallback_t)(const char *); +typedef void (SWIGSTDCALL* SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *); + +typedef struct { + SWIG_CSharpExceptionCodes code; + SWIG_CSharpExceptionCallback_t callback; +} SWIG_CSharpException_t; + +typedef struct { + SWIG_CSharpExceptionArgumentCodes code; + SWIG_CSharpExceptionArgumentCallback_t callback; +} SWIG_CSharpExceptionArgument_t; + +static SWIG_CSharpException_t SWIG_csharp_exceptions[] = { + { SWIG_CSharpApplicationException, NULL }, + { SWIG_CSharpArithmeticException, NULL }, + { SWIG_CSharpDivideByZeroException, NULL }, + { SWIG_CSharpIndexOutOfRangeException, NULL }, + { SWIG_CSharpInvalidCastException, NULL }, + { SWIG_CSharpInvalidOperationException, NULL }, + { SWIG_CSharpIOException, NULL }, + { SWIG_CSharpNullReferenceException, NULL }, + { SWIG_CSharpOutOfMemoryException, NULL }, + { SWIG_CSharpOverflowException, NULL }, + { SWIG_CSharpSystemException, NULL } +}; + +static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = { + { SWIG_CSharpArgumentException, NULL }, + { SWIG_CSharpArgumentNullException, NULL }, + { SWIG_CSharpArgumentOutOfRangeException, NULL } +}; + +static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) { + SWIG_CSharpExceptionCallback_t callback = SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback; + if ((size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) { + callback = SWIG_csharp_exceptions[code].callback; + } + callback(msg); +} + +static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) { + SWIG_CSharpExceptionArgumentCallback_t callback = SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback; + if ((size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) { + callback = SWIG_csharp_exceptions_argument[code].callback; + } + callback(msg, param_name); +} + + +#ifdef __cplusplus +extern "C" +#endif +SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_ESL( + SWIG_CSharpExceptionCallback_t applicationCallback, + SWIG_CSharpExceptionCallback_t arithmeticCallback, + SWIG_CSharpExceptionCallback_t divideByZeroCallback, + SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback, + SWIG_CSharpExceptionCallback_t invalidCastCallback, + SWIG_CSharpExceptionCallback_t invalidOperationCallback, + SWIG_CSharpExceptionCallback_t ioCallback, + SWIG_CSharpExceptionCallback_t nullReferenceCallback, + SWIG_CSharpExceptionCallback_t outOfMemoryCallback, + SWIG_CSharpExceptionCallback_t overflowCallback, + SWIG_CSharpExceptionCallback_t systemCallback) { + SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback = applicationCallback; + SWIG_csharp_exceptions[SWIG_CSharpArithmeticException].callback = arithmeticCallback; + SWIG_csharp_exceptions[SWIG_CSharpDivideByZeroException].callback = divideByZeroCallback; + SWIG_csharp_exceptions[SWIG_CSharpIndexOutOfRangeException].callback = indexOutOfRangeCallback; + SWIG_csharp_exceptions[SWIG_CSharpInvalidCastException].callback = invalidCastCallback; + SWIG_csharp_exceptions[SWIG_CSharpInvalidOperationException].callback = invalidOperationCallback; + SWIG_csharp_exceptions[SWIG_CSharpIOException].callback = ioCallback; + SWIG_csharp_exceptions[SWIG_CSharpNullReferenceException].callback = nullReferenceCallback; + SWIG_csharp_exceptions[SWIG_CSharpOutOfMemoryException].callback = outOfMemoryCallback; + SWIG_csharp_exceptions[SWIG_CSharpOverflowException].callback = overflowCallback; + SWIG_csharp_exceptions[SWIG_CSharpSystemException].callback = systemCallback; +} + +#ifdef __cplusplus +extern "C" +#endif +SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_ESL( + SWIG_CSharpExceptionArgumentCallback_t argumentCallback, + SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback, + SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback) { + SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback = argumentCallback; + SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentNullException].callback = argumentNullCallback; + SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentOutOfRangeException].callback = argumentOutOfRangeCallback; +} + + +/* Callback for returning strings to C# without leaking memory */ +typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); +static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL; + + +#ifdef __cplusplus +extern "C" +#endif +SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_ESL(SWIG_CSharpStringHelperCallback callback) { + SWIG_csharp_string_callback = callback; +} + + +/* Contract support */ + +#define SWIG_contract_assert(nullreturn, expr, msg) if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } else + + +#include "esl.h" +#include "esl_oop.h" + + +#ifdef __cplusplus +extern "C" { +#endif + +SWIGEXPORT void SWIGSTDCALL CSharp_ESLevent_Event_set(void * jarg1, void * jarg2) { + ESLevent *arg1 = (ESLevent *) 0 ; + esl_event_t *arg2 = (esl_event_t *) 0 ; + + arg1 = (ESLevent *)jarg1; + arg2 = (esl_event_t *)jarg2; + if (arg1) (arg1)->event = arg2; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLevent_Event_get(void * jarg1) { + void * jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + esl_event_t *result = 0 ; + + arg1 = (ESLevent *)jarg1; + result = (esl_event_t *) ((arg1)->event); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_ESLevent_SerializedString_set(void * jarg1, char * jarg2) { + ESLevent *arg1 = (ESLevent *) 0 ; + char *arg2 = (char *) 0 ; + + arg1 = (ESLevent *)jarg1; + arg2 = (char *)jarg2; + { + delete [] arg1->serialized_string; + if (arg2) { + arg1->serialized_string = (char *) (new char[strlen((const char *)arg2)+1]); + strcpy((char *)arg1->serialized_string, (const char *)arg2); + } else { + arg1->serialized_string = 0; + } + } +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_SerializedString_get(void * jarg1) { + char * jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *result = 0 ; + + arg1 = (ESLevent *)jarg1; + result = (char *) ((arg1)->serialized_string); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_ESLevent_Mine_set(void * jarg1, int jarg2) { + ESLevent *arg1 = (ESLevent *) 0 ; + int arg2 ; + + arg1 = (ESLevent *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->mine = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_ESLevent_Mine_get(void * jarg1) { + int jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + int result; + + arg1 = (ESLevent *)jarg1; + result = (int) ((arg1)->mine); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_ESLevent__SWIG_0(char * jarg1, char * jarg2) { + void * jresult ; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) NULL ; + ESLevent *result = 0 ; + + arg1 = (char *)jarg1; + arg2 = (char *)jarg2; + result = (ESLevent *)new ESLevent((char const *)arg1,(char const *)arg2); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_ESLevent__SWIG_1(void * jarg1, int jarg2) { + void * jresult ; + esl_event_t *arg1 = (esl_event_t *) 0 ; + int arg2 = (int) 0 ; + ESLevent *result = 0 ; + + arg1 = (esl_event_t *)jarg1; + arg2 = (int)jarg2; + result = (ESLevent *)new ESLevent(arg1,arg2); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_ESLevent__SWIG_2(void * jarg1) { + void * jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + ESLevent *result = 0 ; + + arg1 = (ESLevent *)jarg1; + result = (ESLevent *)new ESLevent(arg1); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_delete_ESLevent(void * jarg1) { + ESLevent *arg1 = (ESLevent *) 0 ; + + arg1 = (ESLevent *)jarg1; + delete arg1; +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_Serialize(void * jarg1, char * jarg2) { + char * jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *arg2 = (char *) NULL ; + char *result = 0 ; + + arg1 = (ESLevent *)jarg1; + arg2 = (char *)jarg2; + result = (char *)(arg1)->serialize((char const *)arg2); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_SetPriority(void * jarg1, void * jarg2) { + unsigned int jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + esl_priority_t arg2 = (esl_priority_t) ESL_PRIORITY_NORMAL ; + esl_priority_t *argp2 ; + bool result; + + arg1 = (ESLevent *)jarg1; + argp2 = (esl_priority_t *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null esl_priority_t", 0); + return 0; + } + arg2 = *argp2; + result = (bool)(arg1)->setPriority(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_GetHeader(void * jarg1, char * jarg2, int jarg3) { + char * jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *arg2 = (char *) 0 ; + int arg3 = (int) -1 ; + char *result = 0 ; + + arg1 = (ESLevent *)jarg1; + arg2 = (char *)jarg2; + arg3 = (int)jarg3; + result = (char *)(arg1)->getHeader((char const *)arg2,arg3); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_GetBody(void * jarg1) { + char * jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *result = 0 ; + + arg1 = (ESLevent *)jarg1; + result = (char *)(arg1)->getBody(); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_getType(void * jarg1) { + char * jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *result = 0 ; + + arg1 = (ESLevent *)jarg1; + result = (char *)(arg1)->getType(); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_AddBody(void * jarg1, char * jarg2) { + unsigned int jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + arg1 = (ESLevent *)jarg1; + arg2 = (char *)jarg2; + result = (bool)(arg1)->addBody((char const *)arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_AddHeader(void * jarg1, char * jarg2, char * jarg3) { + unsigned int jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + bool result; + + arg1 = (ESLevent *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + result = (bool)(arg1)->addHeader((char const *)arg2,(char const *)arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_pushHeader(void * jarg1, char * jarg2, char * jarg3) { + unsigned int jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + bool result; + + arg1 = (ESLevent *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + result = (bool)(arg1)->pushHeader((char const *)arg2,(char const *)arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_unshiftHeader(void * jarg1, char * jarg2, char * jarg3) { + unsigned int jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + bool result; + + arg1 = (ESLevent *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + result = (bool)(arg1)->unshiftHeader((char const *)arg2,(char const *)arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_ESLevent_DelHeader(void * jarg1, char * jarg2) { + unsigned int jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *arg2 = (char *) 0 ; + bool result; + + arg1 = (ESLevent *)jarg1; + arg2 = (char *)jarg2; + result = (bool)(arg1)->delHeader((char const *)arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_FirstHeader(void * jarg1) { + char * jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *result = 0 ; + + arg1 = (ESLevent *)jarg1; + result = (char *)(arg1)->firstHeader(); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_ESLevent_NextHeader(void * jarg1) { + char * jresult ; + ESLevent *arg1 = (ESLevent *) 0 ; + char *result = 0 ; + + arg1 = (ESLevent *)jarg1; + result = (char *)(arg1)->nextHeader(); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_ESLconnection__SWIG_0(char * jarg1, int jarg2, char * jarg3, char * jarg4) { + void * jresult ; + char *arg1 = (char *) 0 ; + int arg2 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + ESLconnection *result = 0 ; + + arg1 = (char *)jarg1; + arg2 = (int)jarg2; + arg3 = (char *)jarg3; + arg4 = (char *)jarg4; + result = (ESLconnection *)new ESLconnection((char const *)arg1,arg2,(char const *)arg3,(char const *)arg4); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_ESLconnection__SWIG_1(char * jarg1, int jarg2, char * jarg3) { + void * jresult ; + char *arg1 = (char *) 0 ; + int arg2 ; + char *arg3 = (char *) 0 ; + ESLconnection *result = 0 ; + + arg1 = (char *)jarg1; + arg2 = (int)jarg2; + arg3 = (char *)jarg3; + result = (ESLconnection *)new ESLconnection((char const *)arg1,arg2,(char const *)arg3); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_ESLconnection__SWIG_2(char * jarg1, char * jarg2, char * jarg3, char * jarg4) { + void * jresult ; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + ESLconnection *result = 0 ; + + arg1 = (char *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + arg4 = (char *)jarg4; + result = (ESLconnection *)new ESLconnection((char const *)arg1,(char const *)arg2,(char const *)arg3,(char const *)arg4); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_ESLconnection__SWIG_3(char * jarg1, char * jarg2, char * jarg3) { + void * jresult ; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + ESLconnection *result = 0 ; + + arg1 = (char *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + result = (ESLconnection *)new ESLconnection((char const *)arg1,(char const *)arg2,(char const *)arg3); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_ESLconnection__SWIG_4(int jarg1) { + void * jresult ; + int arg1 ; + ESLconnection *result = 0 ; + + arg1 = (int)jarg1; + result = (ESLconnection *)new ESLconnection(arg1); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_delete_ESLconnection(void * jarg1) { + ESLconnection *arg1 = (ESLconnection *) 0 ; + + arg1 = (ESLconnection *)jarg1; + delete arg1; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_SocketDescriptor(void * jarg1) { + int jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + int result; + + arg1 = (ESLconnection *)jarg1; + result = (int)(arg1)->socketDescriptor(); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_Connected(void * jarg1) { + int jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + int result; + + arg1 = (ESLconnection *)jarg1; + result = (int)(arg1)->connected(); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_GetInfo(void * jarg1) { + void * jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + ESLevent *result = 0 ; + + arg1 = (ESLconnection *)jarg1; + result = (ESLevent *)(arg1)->getInfo(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_Send(void * jarg1, char * jarg2) { + int jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + char *arg2 = (char *) 0 ; + int result; + + arg1 = (ESLconnection *)jarg1; + arg2 = (char *)jarg2; + result = (int)(arg1)->send((char const *)arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_SendRecv(void * jarg1, char * jarg2) { + void * jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + char *arg2 = (char *) 0 ; + ESLevent *result = 0 ; + + arg1 = (ESLconnection *)jarg1; + arg2 = (char *)jarg2; + result = (ESLevent *)(arg1)->sendRecv((char const *)arg2); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_Api(void * jarg1, char * jarg2, char * jarg3) { + void * jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) NULL ; + ESLevent *result = 0 ; + + arg1 = (ESLconnection *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + result = (ESLevent *)(arg1)->api((char const *)arg2,(char const *)arg3); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_Bgapi(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { + void * jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) NULL ; + char *arg4 = (char *) NULL ; + ESLevent *result = 0 ; + + arg1 = (ESLconnection *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + arg4 = (char *)jarg4; + result = (ESLevent *)(arg1)->bgapi((char const *)arg2,(char const *)arg3,(char const *)arg4); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_SendEvent(void * jarg1, void * jarg2) { + void * jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + ESLevent *arg2 = (ESLevent *) 0 ; + ESLevent *result = 0 ; + + arg1 = (ESLconnection *)jarg1; + arg2 = (ESLevent *)jarg2; + result = (ESLevent *)(arg1)->sendEvent(arg2); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_sendMSG(void * jarg1, void * jarg2, char * jarg3) { + int jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + ESLevent *arg2 = (ESLevent *) 0 ; + char *arg3 = (char *) NULL ; + int result; + + arg1 = (ESLconnection *)jarg1; + arg2 = (ESLevent *)jarg2; + arg3 = (char *)jarg3; + result = (int)(arg1)->sendMSG(arg2,(char const *)arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_RecvEvent(void * jarg1) { + void * jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + ESLevent *result = 0 ; + + arg1 = (ESLconnection *)jarg1; + result = (ESLevent *)(arg1)->recvEvent(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_RecvEventTimed(void * jarg1, int jarg2) { + void * jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + int arg2 ; + ESLevent *result = 0 ; + + arg1 = (ESLconnection *)jarg1; + arg2 = (int)jarg2; + result = (ESLevent *)(arg1)->recvEventTimed(arg2); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_Filter(void * jarg1, char * jarg2, char * jarg3) { + void * jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + ESLevent *result = 0 ; + + arg1 = (ESLconnection *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + result = (ESLevent *)(arg1)->filter((char const *)arg2,(char const *)arg3); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_Events(void * jarg1, char * jarg2, char * jarg3) { + int jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) 0 ; + int result; + + arg1 = (ESLconnection *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + result = (int)(arg1)->events((char const *)arg2,(char const *)arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_Execute(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { + void * jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) NULL ; + char *arg4 = (char *) NULL ; + ESLevent *result = 0 ; + + arg1 = (ESLconnection *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + arg4 = (char *)jarg4; + result = (ESLevent *)(arg1)->execute((char const *)arg2,(char const *)arg3,(char const *)arg4); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_ESLconnection_ExecuteAsync(void * jarg1, char * jarg2, char * jarg3, char * jarg4) { + void * jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + char *arg2 = (char *) 0 ; + char *arg3 = (char *) NULL ; + char *arg4 = (char *) NULL ; + ESLevent *result = 0 ; + + arg1 = (ESLconnection *)jarg1; + arg2 = (char *)jarg2; + arg3 = (char *)jarg3; + arg4 = (char *)jarg4; + result = (ESLevent *)(arg1)->executeAsync((char const *)arg2,(char const *)arg3,(char const *)arg4); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_SetAsyncExecute(void * jarg1, char * jarg2) { + int jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + char *arg2 = (char *) 0 ; + int result; + + arg1 = (ESLconnection *)jarg1; + arg2 = (char *)jarg2; + result = (int)(arg1)->setAsyncExecute((char const *)arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_SetEventLock(void * jarg1, char * jarg2) { + int jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + char *arg2 = (char *) 0 ; + int result; + + arg1 = (ESLconnection *)jarg1; + arg2 = (char *)jarg2; + result = (int)(arg1)->setEventLock((char const *)arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_ESLconnection_Disconnect(void * jarg1) { + int jresult ; + ESLconnection *arg1 = (ESLconnection *) 0 ; + int result; + + arg1 = (ESLconnection *)jarg1; + result = (int)(arg1)->disconnect(); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_eslSetLogLevel(int jarg1) { + int arg1 ; + + arg1 = (int)jarg1; + eslSetLogLevel(arg1); +} + + +#ifdef __cplusplus +} +#endif + diff --git a/libs/esl/managed/esl_wrap.cpp b/libs/esl/managed/esl_wrap.cpp index 9c36dd75c4..adce6159a0 100644 --- a/libs/esl/managed/esl_wrap.cpp +++ b/libs/esl/managed/esl_wrap.cpp @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.2 + * Version 3.0.12 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -8,7 +8,11 @@ * interface file instead. * ----------------------------------------------------------------------------- */ + +#ifndef SWIGCSHARP #define SWIGCSHARP +#endif + #ifdef __cplusplus @@ -101,9 +105,11 @@ template T SwigValueInit() { #endif /* exporting methods */ -#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) -# ifndef GCC_HASCLASSVISIBILITY -# define GCC_HASCLASSVISIBILITY +#if defined(__GNUC__) +# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) +# ifndef GCC_HASCLASSVISIBILITY +# define GCC_HASCLASSVISIBILITY +# endif # endif #endif @@ -142,6 +148,19 @@ template T SwigValueInit() { # define _SCL_SECURE_NO_DEPRECATE #endif +/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */ +#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) +# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 +#endif + +/* Intel's compiler complains if a variable which was never initialised is + * cast to void, which is a common idiom which we use to indicate that we + * are aware a variable isn't used. So we just silence that warning. + * See: https://github.com/swig/swig/issues/192 for more discussion. + */ +#ifdef __INTEL_COMPILER +# pragma warning disable 592 +#endif #include diff --git a/libs/esl/managed/managed_esl.2008.sln b/libs/esl/managed/managed_esl.2008.sln deleted file mode 100644 index fd5f490d5a..0000000000 --- a/libs/esl/managed/managed_esl.2008.sln +++ /dev/null @@ -1,60 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ESL", "ESL.vcproj", "{FEA2D0AE-6713-4E41-A473-A143849BC7FF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedEsl", "ManagedEsl.csproj", "{DEE5837B-E01D-4223-B351-EDF9418F3F8E}" - ProjectSection(ProjectDependencies) = postProject - {FEA2D0AE-6713-4E41-A473-A143849BC7FF} = {FEA2D0AE-6713-4E41-A473-A143849BC7FF} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedEslTest", "ManagedEslTest\ManagedEslTest.csproj", "{2321D01A-D64B-4461-9837-FACF38652212}" - ProjectSection(ProjectDependencies) = postProject - {FEA2D0AE-6713-4E41-A473-A143849BC7FF} = {FEA2D0AE-6713-4E41-A473-A143849BC7FF} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|Win32 = Debug|Win32 - Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|Win32 = Release|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Any CPU.ActiveCfg = Debug|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Mixed Platforms.Build.0 = Debug|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Win32.ActiveCfg = Debug|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Win32.Build.0 = Debug|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Any CPU.ActiveCfg = Release|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Mixed Platforms.ActiveCfg = Release|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Mixed Platforms.Build.0 = Release|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Win32.ActiveCfg = Release|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Win32.Build.0 = Release|Win32 - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Win32.ActiveCfg = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Any CPU.Build.0 = Release|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Win32.ActiveCfg = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Win32.ActiveCfg = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|Any CPU.Build.0 = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|Win32.ActiveCfg = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/libs/esl/managed/managed_esl.2010.sln b/libs/esl/managed/managed_esl.2010.sln deleted file mode 100644 index 78c5420542..0000000000 --- a/libs/esl/managed/managed_esl.2010.sln +++ /dev/null @@ -1,52 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ESL", "ESL.2010.vcxproj", "{FEA2D0AE-6713-4E41-A473-A143849BC7FF}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedEsl.2010", "ManagedEsl.2010.csproj", "{DEE5837B-E01D-4223-B351-EDF9418F3F8E}" - ProjectSection(ProjectDependencies) = postProject - {FEA2D0AE-6713-4E41-A473-A143849BC7FF} = {FEA2D0AE-6713-4E41-A473-A143849BC7FF} - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ManagedEslTest.2010", "ManagedEslTest\ManagedEslTest.2010.csproj", "{2321D01A-D64B-4461-9837-FACF38652212}" - ProjectSection(ProjectDependencies) = postProject - {FEA2D0AE-6713-4E41-A473-A143849BC7FF} = {FEA2D0AE-6713-4E41-A473-A143849BC7FF} - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Win32 = Debug|Win32 - Debug|x64 = Debug|x64 - Release|Win32 = Release|Win32 - Release|x64 = Release|x64 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Win32.ActiveCfg = Debug|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|Win32.Build.0 = Debug|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|x64.ActiveCfg = Debug|x64 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Debug|x64.Build.0 = Debug|x64 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Win32.ActiveCfg = Release|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|Win32.Build.0 = Release|Win32 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|x64.ActiveCfg = Release|x64 - {FEA2D0AE-6713-4E41-A473-A143849BC7FF}.Release|x64.Build.0 = Release|x64 - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Win32.ActiveCfg = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|Win32.Build.0 = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|x64.ActiveCfg = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Debug|x64.Build.0 = Debug|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Win32.ActiveCfg = Release|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|Win32.Build.0 = Release|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|x64.ActiveCfg = Release|Any CPU - {DEE5837B-E01D-4223-B351-EDF9418F3F8E}.Release|x64.Build.0 = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Win32.ActiveCfg = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|Win32.Build.0 = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|x64.ActiveCfg = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Debug|x64.Build.0 = Debug|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|Win32.ActiveCfg = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|Win32.Build.0 = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|x64.ActiveCfg = Release|Any CPU - {2321D01A-D64B-4461-9837-FACF38652212}.Release|x64.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/libs/esl/managed/runswig.2010.cmd b/libs/esl/managed/runswig.2015.cmd similarity index 50% rename from libs/esl/managed/runswig.2010.cmd rename to libs/esl/managed/runswig.2015.cmd index 2e7999dafa..13e94018b8 100644 --- a/libs/esl/managed/runswig.2010.cmd +++ b/libs/esl/managed/runswig.2015.cmd @@ -1,25 +1,25 @@ -move esl_wrap.cpp esl_wrap.bak -move esl.cs esl.bak -move ESLconnection.cs ESLconnection.bak -move ESLevent.cs ESLevent.bak -move ESLPINVOKE.cs ESLPINVOKE.bak -move SWIGTYPE_p_esl_event_t.cs SWIGTYPE_p_esl_event_t.bak -move SWIGTYPE_p_esl_priority_t.cs SWIGTYPE_p_esl_priority_t.bak - -\dev\swig20\swig.exe -module ESL -csharp -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i - -move esl_wrap.cpp esl_wrap.2010.cpp -move esl.cs esl.2010.cs -move ESLconnection.cs ESLconnection.2010.cs -move ESLevent.cs ESLevent.2010.cs -move ESLPINVOKE.cs ESLPINVOKE.2010.cs -move SWIGTYPE_p_esl_event_t.cs SWIGTYPE_p_esl_event_t.2010.cs -move SWIGTYPE_p_esl_priority_t.cs SWIGTYPE_p_esl_priority_t.2010.cs - -move esl_wrap.bak esl_wrap.cpp -move esl.bak esl.cs -move ESLconnection.bak ESLconnection.cs -move ESLevent.bak ESLevent.cs -move ESLPINVOKE.bak ESLPINVOKE.cs -move SWIGTYPE_p_esl_event_t.bak SWIGTYPE_p_esl_event_t.cs -move SWIGTYPE_p_esl_priority_t.bak SWIGTYPE_p_esl_priority_t.cs \ No newline at end of file +move esl_wrap.cpp esl_wrap.bak +move esl.cs esl.bak +move ESLconnection.cs ESLconnection.bak +move ESLevent.cs ESLevent.bak +move ESLPINVOKE.cs ESLPINVOKE.bak +move SWIGTYPE_p_esl_event_t.cs SWIGTYPE_p_esl_event_t.bak +move SWIGTYPE_p_esl_priority_t.cs SWIGTYPE_p_esl_priority_t.bak + +swig\swig.exe -module ESL -csharp -c++ -DMULTIPLICITY -I../src/include -o esl_wrap.cpp ../ESL.i + +move esl_wrap.cpp esl_wrap.2015.cpp +move esl.cs esl.2015.cs +move ESLconnection.cs ESLconnection.2015.cs +move ESLevent.cs ESLevent.2015.cs +move ESLPINVOKE.cs ESLPINVOKE.2015.cs +move SWIGTYPE_p_esl_event_t.cs SWIGTYPE_p_esl_event_t.2015.cs +move SWIGTYPE_p_esl_priority_t.cs SWIGTYPE_p_esl_priority_t.2015.cs + +move esl_wrap.bak esl_wrap.cpp +move esl.bak esl.cs +move ESLconnection.bak ESLconnection.cs +move ESLevent.bak ESLevent.cs +move ESLPINVOKE.bak ESLPINVOKE.cs +move SWIGTYPE_p_esl_event_t.bak SWIGTYPE_p_esl_event_t.cs +move SWIGTYPE_p_esl_priority_t.bak SWIGTYPE_p_esl_priority_t.cs diff --git a/libs/esl/src/esl.2010.vcxproj.filters b/libs/esl/src/esl.2010.vcxproj.filters deleted file mode 100644 index 9f202cffab..0000000000 --- a/libs/esl/src/esl.2010.vcxproj.filters +++ /dev/null @@ -1,47 +0,0 @@ - - - - - {4FC737F1-C7A5-4376-A066-2A32D752A2FF} - cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx - - - {93995380-89BD-4b04-88EB-625FBE52EBFB} - h;hpp;hxx;hm;inl;inc;xsd - - - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - Source Files - - - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - Header Files - - - \ No newline at end of file diff --git a/libs/esl/src/esl.2015.vcxproj b/libs/esl/src/libesl.2015.vcxproj similarity index 96% rename from libs/esl/src/esl.2015.vcxproj rename to libs/esl/src/libesl.2015.vcxproj index b35f24a25c..3c6376d123 100644 --- a/libs/esl/src/esl.2015.vcxproj +++ b/libs/esl/src/libesl.2015.vcxproj @@ -1,158 +1,158 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - esl - {CF405366-9558-4AE8-90EF-5E21B51CCB4E} - esl - Win32Proj - - - - StaticLibrary - Unicode - true - v140 - - - StaticLibrary - Unicode - v140 - - - StaticLibrary - Unicode - true - v140 - - - StaticLibrary - Unicode - v140 - - - - - - - - - - - - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - - - - Disabled - include;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ESL_DECLARE_STATIC;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level4 - false - 28253;28252;6031;4267;4244;4706;4100;%(DisableSpecificWarnings) - true - - - - - X64 - - - Disabled - include;%(AdditionalIncludeDirectories) - WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ESL_DECLARE_STATIC;%(PreprocessorDefinitions) - true - EnableFastChecks - MultiThreadedDebugDLL - Level4 - false - 28253;28252;6031;4267;4244;4706;4100;%(DisableSpecificWarnings) - true - - - - - include;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ESL_DECLARE_STATIC;%(PreprocessorDefinitions) - MultiThreadedDLL - Level4 - false - 28253;28252;6031;4267;4244;4706;4100;%(DisableSpecificWarnings) - true - - - - - X64 - - - include;%(AdditionalIncludeDirectories) - WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ESL_DECLARE_STATIC;%(PreprocessorDefinitions) - MultiThreadedDLL - Level4 - false - 28253;28252;6031;4267;4244;4706;4100;%(DisableSpecificWarnings) - true - - - - - - - 6001;%(DisableSpecificWarnings) - 6001;%(DisableSpecificWarnings) - 6001;%(DisableSpecificWarnings) - 6001;%(DisableSpecificWarnings) - - - - 28125;%(DisableSpecificWarnings) - 28125;%(DisableSpecificWarnings) - 28125;%(DisableSpecificWarnings) - 28125;%(DisableSpecificWarnings) - - - - - - - - - - - - - - - \ No newline at end of file + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + libesl + {CF405366-9558-4AE8-90EF-5E21B51CCB4E} + libesl + Win32Proj + + + + StaticLibrary + Unicode + true + v140 + + + StaticLibrary + Unicode + v140 + + + StaticLibrary + Unicode + true + v140 + + + StaticLibrary + Unicode + v140 + + + + + + + + + + + + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + + + + Disabled + include;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ESL_DECLARE_STATIC;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + Level4 + false + 28253;28252;6031;4267;4244;4706;4100;%(DisableSpecificWarnings) + true + + + + + X64 + + + Disabled + include;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ESL_DECLARE_STATIC;%(PreprocessorDefinitions) + true + EnableFastChecks + MultiThreadedDebugDLL + Level4 + false + 28253;28252;6031;4267;4244;4706;4100;%(DisableSpecificWarnings) + true + + + + + include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ESL_DECLARE_STATIC;%(PreprocessorDefinitions) + MultiThreadedDLL + Level4 + false + 28253;28252;6031;4267;4244;4706;4100;%(DisableSpecificWarnings) + true + + + + + X64 + + + include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;ESL_DECLARE_STATIC;%(PreprocessorDefinitions) + MultiThreadedDLL + Level4 + false + 28253;28252;6031;4267;4244;4706;4100;%(DisableSpecificWarnings) + true + + + + + + + 6001;%(DisableSpecificWarnings) + 6001;%(DisableSpecificWarnings) + 6001;%(DisableSpecificWarnings) + 6001;%(DisableSpecificWarnings) + + + + 28125;%(DisableSpecificWarnings) + 28125;%(DisableSpecificWarnings) + 28125;%(DisableSpecificWarnings) + 28125;%(DisableSpecificWarnings) + + + + + + + + + + + + + + + diff --git a/src/mod/applications/mod_hash/mod_hash.2015.vcxproj b/src/mod/applications/mod_hash/mod_hash.2015.vcxproj index b4a39b403f..cb03f0bc62 100644 --- a/src/mod/applications/mod_hash/mod_hash.2015.vcxproj +++ b/src/mod/applications/mod_hash/mod_hash.2015.vcxproj @@ -152,7 +152,7 @@ - + {cf405366-9558-4ae8-90ef-5e21b51ccb4e}