Add namespace to CSharp files from tinyWRAP.

This commit is contained in:
bossiel 2010-11-05 01:49:25 +00:00
parent 7177cbf947
commit a19a2f6912
63 changed files with 187 additions and 1 deletions

View File

@ -1,6 +1,6 @@
##### CSharp
echo "--->CSharp...<---"
swig -c++ -csharp -outdir csharp -o csharp/tinyWRAP_wrap.cxx csharp/csharp.i
swig -c++ -csharp -namespace org.doubango.tinyWRAP -outdir csharp -o csharp/tinyWRAP_wrap.cxx csharp/csharp.i
##### Objective-C
#echo "--->Objective-C...<---"

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -59,3 +60,5 @@ public class ActionConfig : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -111,3 +112,5 @@ public class CallSession : InviteSession {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -62,3 +63,5 @@ public class DDebugCallback : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -38,3 +39,5 @@ public class DialogEvent : SipEvent {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -66,3 +67,5 @@ public class InviteEvent : SipEvent {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -71,3 +72,5 @@ public class InviteSession : SipSession {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -55,3 +56,5 @@ public class MessagingEvent : SipEvent {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -56,3 +57,5 @@ public class MessagingSession : SipSession {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -69,3 +70,5 @@ public class MsrpCallback : IDisposable {
private static Type[] swigMethodTypes0 = new Type[] { typeof(MsrpEvent) };
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -56,3 +57,5 @@ public class MsrpEvent : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -91,3 +92,5 @@ public class MsrpMessage : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -76,3 +77,5 @@ public class MsrpSession : InviteSession {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -49,3 +50,5 @@ public class OptionsEvent : SipEvent {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -46,3 +47,5 @@ public class OptionsSession : SipSession {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -130,3 +131,5 @@ public class ProxyAudioConsumer : IDisposable {
private static Type[] swigMethodTypes2 = new Type[] { };
private static Type[] swigMethodTypes3 = new Type[] { };
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -125,3 +126,5 @@ public class ProxyAudioProducer : IDisposable {
private static Type[] swigMethodTypes2 = new Type[] { };
private static Type[] swigMethodTypes3 = new Type[] { };
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -139,3 +140,5 @@ public class ProxyVideoConsumer : IDisposable {
private static Type[] swigMethodTypes3 = new Type[] { };
private static Type[] swigMethodTypes4 = new Type[] { };
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -49,3 +50,5 @@ public class ProxyVideoFrame : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -125,3 +126,5 @@ public class ProxyVideoProducer : IDisposable {
private static Type[] swigMethodTypes2 = new Type[] { };
private static Type[] swigMethodTypes3 = new Type[] { };
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -49,3 +50,5 @@ public class PublicationEvent : SipEvent {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -51,3 +52,5 @@ public class PublicationSession : SipSession {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -57,3 +58,5 @@ public class RPMessage : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -49,3 +50,5 @@ public class RegistrationEvent : SipEvent {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -51,3 +52,5 @@ public class RegistrationSession : SipSession {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -72,3 +73,5 @@ public class SMSData : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -69,3 +70,5 @@ public class SMSEncoder : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -52,3 +53,5 @@ public class SafeObject : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -57,3 +58,5 @@ public class SdpMessage : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -167,3 +168,5 @@ public class SipCallback : IDisposable {
private static Type[] swigMethodTypes6 = new Type[] { typeof(RegistrationEvent) };
private static Type[] swigMethodTypes7 = new Type[] { typeof(SubscriptionEvent) };
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -61,3 +62,5 @@ public class SipEvent : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -88,3 +89,5 @@ public class SipMessage : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -107,3 +108,5 @@ public class SipSession : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -194,3 +195,5 @@ public class SipStack : SafeObject {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -87,3 +88,5 @@ public class SipUri : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -38,3 +39,5 @@ public class StackEvent : SipEvent {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -49,3 +50,5 @@ public class SubscriptionEvent : SipEvent {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -51,3 +52,5 @@ public class SubscriptionSession : SipSession {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -69,3 +70,5 @@ public class XcapCallback : IDisposable {
private static Type[] swigMethodTypes0 = new Type[] { typeof(XcapEvent) };
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -50,3 +51,5 @@ public class XcapEvent : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -82,3 +83,5 @@ public class XcapMessage : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -87,3 +88,5 @@ public class XcapSelector : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -92,3 +93,5 @@ public class XcapStack : IDisposable {
}
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tdav_codec_id_t {
tdav_codec_id_amr_nb_oa = 0x00000001 << 0,
@ -32,3 +33,5 @@ public enum tdav_codec_id_t {
tdav_codec_id_h264_bp30 = 0x00010000 << 6,
tdav_codec_id_theora = 0x00010000 << 7
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum thttp_event_type_t {
thttp_event_message,
@ -13,3 +14,5 @@ public enum thttp_event_type_t {
thttp_event_closed,
thttp_event_transport_error
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -26,3 +27,5 @@ public class tinyWRAP {
public static readonly int tsip_event_code_stack_failed_to_start = tinyWRAPPINVOKE.tsip_event_code_stack_failed_to_start_get();
public static readonly int tsip_event_code_stack_failed_to_stop = tinyWRAPPINVOKE.tsip_event_code_stack_failed_to_stop_get();
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
using System;
using System.Runtime.InteropServices;
@ -1270,3 +1271,5 @@ class tinyWRAPPINVOKE {
[DllImport("tinyWRAP", EntryPoint="CSharp_SipStackUpcast")]
public static extern IntPtr SipStackUpcast(IntPtr objectRef);
}
}

View File

@ -6,9 +6,12 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tmedia_bandwidth_level_t {
tmedia_bl_low,
tmedia_bl_medium,
tmedia_bl_hight
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tmedia_chroma_t {
tmedia_rgb24,
@ -18,3 +19,5 @@ public enum tmedia_chroma_t {
tmedia_uyvy422,
tmedia_yuv420p
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tmedia_qos_strength_t {
tmedia_qos_strength_none,
@ -14,3 +15,5 @@ public enum tmedia_qos_strength_t {
tmedia_qos_strength_optional,
tmedia_qos_strength_mandatory
}
}

View File

@ -6,9 +6,12 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tmedia_qos_stype_t {
tmedia_qos_stype_none,
tmedia_qos_stype_segmented,
tmedia_qos_stype_e2e
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tmsrp_event_type_t {
tmsrp_event_type_none,
@ -13,3 +14,5 @@ public enum tmsrp_event_type_t {
tmsrp_event_type_disconnected,
tmsrp_event_type_message
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tmsrp_request_type_t {
tmsrp_NONE = 0,
@ -13,3 +14,5 @@ public enum tmsrp_request_type_t {
tmsrp_REPORT,
tmsrp_AUTH
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tsip_event_type_t {
tsip_event_invite,
@ -16,3 +17,5 @@ public enum tsip_event_type_t {
tsip_event_subscribe,
tsip_event_dialog
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tsip_invite_event_type_t {
tsip_i_newcall,
@ -22,3 +23,5 @@ public enum tsip_invite_event_type_t {
tsip_m_remote_hold,
tsip_m_remote_resume
}
}

View File

@ -6,8 +6,11 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tsip_message_event_type_t {
tsip_i_message,
tsip_ao_message
}
}

View File

@ -6,8 +6,11 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tsip_options_event_type_t {
tsip_i_options,
tsip_ao_options
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tsip_publish_event_type_t {
tsip_i_publish,
@ -13,3 +14,5 @@ public enum tsip_publish_event_type_t {
tsip_i_unpublish,
tsip_ao_unpublish
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tsip_register_event_type_t {
tsip_i_register,
@ -13,3 +14,5 @@ public enum tsip_register_event_type_t {
tsip_i_unregister,
tsip_ao_unregister
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum tsip_subscribe_event_type_t {
tsip_i_subscribe,
@ -15,3 +16,5 @@ public enum tsip_subscribe_event_type_t {
tsip_i_notify,
tsip_ao_notify
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum twrap_media_type_t {
twrap_media_none,
@ -14,3 +15,5 @@ public enum twrap_media_type_t {
twrap_media_audiovideo,
twrap_media_msrp
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum twrap_rpmessage_type_t {
twrap_rpmessage_type_sms_none,
@ -14,3 +15,5 @@ public enum twrap_rpmessage_type_t {
twrap_rpmessage_type_sms_ack,
twrap_rpmessage_type_sms_error
}
}

View File

@ -6,6 +6,7 @@
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace org.doubango.tinyWRAP {
public enum twrap_sms_type_t {
twrap_sms_type_none,
@ -14,3 +15,5 @@ public enum twrap_sms_type_t {
twrap_sms_type_ack,
twrap_sms_type_error
}
}