Changed namespace.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2720 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
James Green 2006-09-17 03:30:31 +00:00
parent 036599fb68
commit 1fdc0a26a7
67 changed files with 1648 additions and 1647 deletions

View File

@ -1,8 +1,8 @@
all: $(MODNAME).so all: $(MODNAME).so
$(MODNAME).so: $(MODNAME).so:
gmcs -debug -unsafe -t:library -keyfile:public.snk \ /usr/local/freeswitch/bin/gmcs -debug -unsafe -t:library -keyfile:public.snk \
-out:Freeswitch.dll -reference:Mono.Posix.dll \ -out:FreeSwitch.dll -reference:Mono.Posix.dll \
Properties/AssemblyInfo.cs \ Properties/AssemblyInfo.cs \
Marshaling/Types/ApiInterfaceMarshal.cs \ Marshaling/Types/ApiInterfaceMarshal.cs \
Marshaling/Types/ApplicationInterfaceMarshal.cs \ Marshaling/Types/ApplicationInterfaceMarshal.cs \
@ -24,6 +24,7 @@ $(MODNAME).so:
Marshaling/Types/IOEventHooksMarshal.cs \ Marshaling/Types/IOEventHooksMarshal.cs \
Marshaling/Types/LoadableModuleInterfaceMarshal.cs \ Marshaling/Types/LoadableModuleInterfaceMarshal.cs \
Marshaling/Types/LoadableModuleMarshal.cs \ Marshaling/Types/LoadableModuleMarshal.cs \
Marshaling/Types/StreamHandleMarshal.cs \
Marshaling/Types/TypesMarshal.cs \ Marshaling/Types/TypesMarshal.cs \
Marshaling/BufferMarshaler.cs \ Marshaling/BufferMarshaler.cs \
Marshaling/CallerExtensionMarshaler.cs \ Marshaling/CallerExtensionMarshaler.cs \
@ -57,6 +58,8 @@ $(MODNAME).so:
Types/ChannelTimetable.cs \ Types/ChannelTimetable.cs \
Types/CoreSession.cs \ Types/CoreSession.cs \
Types/DtmfCallbackFunction.cs \ Types/DtmfCallbackFunction.cs \
Types/InputCallbackFunction.cs \
Types/InputType.cs \
Types/Event.cs \ Types/Event.cs \
Types/FileHandle.cs \ Types/FileHandle.cs \
Types/LoadableModule.cs \ Types/LoadableModule.cs \
@ -67,12 +70,10 @@ $(MODNAME).so:
Types/StreamHandle.cs \ Types/StreamHandle.cs \
Types/TextChannel.cs \ Types/TextChannel.cs \
Common.cs \ Common.cs \
Core.cs \
Ivr.cs \
Module.cs \ Module.cs \
clean: clean:
rm -fr *.dll rm -fr *.dll
install: install:
cp -f Freeswitch.dll /usr/local/freeswitch/lib/ cp -f FreeSwitch.dll /usr/local/freeswitch/lib/

View File

@ -31,10 +31,10 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling namespace FreeSwitch.Marshaling
{ {
class BufferMarshaler : ICustomMarshaler class BufferMarshaler : ICustomMarshaler
{ {
@ -60,14 +60,14 @@ namespace FreeSwitch.NET.Marshaling
public IntPtr MarshalManagedToNative(object obj) public IntPtr MarshalManagedToNative(object obj)
{ {
FreeSwitch.NET.Types.Buffer buffer = (FreeSwitch.NET.Types.Buffer)obj; FreeSwitch.Types.Buffer buffer = (FreeSwitch.Types.Buffer)obj;
return buffer.marshaledObject.Handle; return buffer.marshaledObject.Handle;
} }
public object MarshalNativeToManaged(IntPtr bufferPtr) public object MarshalNativeToManaged(IntPtr bufferPtr)
{ {
FreeSwitch.NET.Types.Buffer buffer = new FreeSwitch.NET.Types.Buffer(); FreeSwitch.Types.Buffer buffer = new FreeSwitch.Types.Buffer();
BufferMarshal bufferMarshal = new BufferMarshal(); BufferMarshal bufferMarshal = new BufferMarshal();
Marshal.PtrToStructure(bufferPtr, bufferMarshal); Marshal.PtrToStructure(bufferPtr, bufferMarshal);

View File

@ -31,10 +31,10 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Marshaling namespace FreeSwitch.Marshaling
{ {
class CallerExtensionMarshaler : ICustomMarshaler class CallerExtensionMarshaler : ICustomMarshaler
{ {

View File

@ -31,10 +31,10 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Marshaling namespace FreeSwitch.Marshaling
{ {
class CallerProfileMarshaler : ICustomMarshaler class CallerProfileMarshaler : ICustomMarshaler
{ {

View File

@ -31,10 +31,10 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Marshaling namespace FreeSwitch.Marshaling
{ {
class ChannelMarshaler : ICustomMarshaler class ChannelMarshaler : ICustomMarshaler
{ {

View File

@ -31,10 +31,10 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Marshaling namespace FreeSwitch.Marshaling
{ {
class ChannelTimetableMarshaler : ICustomMarshaler class ChannelTimetableMarshaler : ICustomMarshaler
{ {

View File

@ -31,10 +31,10 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Marshaling namespace FreeSwitch.Marshaling
{ {
class CoreSessionMarshaler : ICustomMarshaler class CoreSessionMarshaler : ICustomMarshaler
{ {

View File

@ -31,11 +31,11 @@
*/ */
using System; using System;
using System.Collections; using System.Collections;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Marshaling namespace FreeSwitch.Marshaling
{ {
class EventMarshaler : ICustomMarshaler class EventMarshaler : ICustomMarshaler
{ {

View File

@ -31,10 +31,10 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Marshaling namespace FreeSwitch.Marshaling
{ {
class FileHandleMarshaler : ICustomMarshaler class FileHandleMarshaler : ICustomMarshaler
{ {

View File

@ -31,10 +31,10 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Marshaling namespace FreeSwitch.Marshaling
{ {
class MemoryPoolMarshaler : ICustomMarshaler class MemoryPoolMarshaler : ICustomMarshaler
{ {

View File

@ -31,11 +31,11 @@
*/ */
using System; using System;
using System.Collections; using System.Collections;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Marshaling namespace FreeSwitch.Marshaling
{ {
class StreamHandleMarshaler : ICustomMarshaler class StreamHandleMarshaler : ICustomMarshaler
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class ApiInterfaceMarshal internal class ApiInterfaceMarshal

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class ApplicationInterfaceMarshal internal class ApplicationInterfaceMarshal

View File

@ -32,7 +32,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class BufferMarshal internal class BufferMarshal

View File

@ -32,7 +32,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class CallerExtensionMarshal internal class CallerExtensionMarshal

View File

@ -32,7 +32,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class CallerProfileMarshal internal class CallerProfileMarshal

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
internal enum ChannelFlagMarshal internal enum ChannelFlagMarshal
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class ChannelMarshal internal class ChannelMarshal

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
internal enum ChannelStateMarshal internal enum ChannelStateMarshal
{ {

View File

@ -32,7 +32,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class ChannelTimetableMarshal internal class ChannelTimetableMarshal

View File

@ -30,9 +30,9 @@
* *
*/ */
using System; using System;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
internal class CodecImplementationMarshal internal class CodecImplementationMarshal
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class CodecInterfaceMarshal internal class CodecInterfaceMarshal

View File

@ -32,7 +32,7 @@
using System; using System;
using System.Text; using System.Text;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
internal class CodecMarshal internal class CodecMarshal
{ {

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
internal enum CodecTypesMarshal internal enum CodecTypesMarshal
{ {

View File

@ -33,7 +33,7 @@ using System;
using System.Text; using System.Text;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential, Pack=1)] [StructLayout(LayoutKind.Sequential, Pack=1)]
internal class CoreSessionMarshal internal class CoreSessionMarshal

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class EventMarshal internal class EventMarshal

View File

@ -32,7 +32,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class FileHandleMarshal internal class FileHandleMarshal

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class FrameMarshal internal class FrameMarshal

View File

@ -32,7 +32,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class IOEventHooksMarshal internal class IOEventHooksMarshal

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class LoadableModuleInterfaceMarshal internal class LoadableModuleInterfaceMarshal

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
internal class StreamHandleMarshal internal class StreamHandleMarshal

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Marshaling.Types namespace FreeSwitch.Marshaling.Types
{ {
public delegate public delegate
Status DtmfCallbackFunctionMarshal( Status DtmfCallbackFunctionMarshal(

View File

@ -35,9 +35,9 @@ using System.Reflection;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;
using FreeSwitch.NET; using FreeSwitch.NET;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Modules; using FreeSwitch.Modules;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET namespace FreeSwitch.NET
{ {

View File

@ -33,9 +33,9 @@ using System;
using System.Collections; using System.Collections;
using System.Text; using System.Text;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
namespace FreeSwitch.NET.Modules namespace FreeSwitch.Modules
{ {
public class Api public class Api
{ {

View File

@ -33,11 +33,11 @@ using System;
using System.Collections; using System.Collections;
using System.Text; using System.Text;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Marshaling; using FreeSwitch.Marshaling;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Modules namespace FreeSwitch.Modules
{ {
public class Application public class Application
{ {

View File

@ -32,11 +32,11 @@
using System; using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling; using FreeSwitch.Marshaling;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET namespace FreeSwitch
{ {
public partial class Switch public partial class Switch
{ {

View File

@ -32,10 +32,10 @@
using System; using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling; using FreeSwitch.Marshaling;
namespace FreeSwitch.NET namespace FreeSwitch
{ {
public partial class Switch public partial class Switch
{ {

View File

@ -34,7 +34,7 @@ using System.Runtime.CompilerServices;
using System.Diagnostics; using System.Diagnostics;
using System.Text; using System.Text;
namespace FreeSwitch.NET namespace FreeSwitch
{ {
public partial class Switch public partial class Switch
{ {

View File

@ -32,10 +32,10 @@
using System; using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling; using FreeSwitch.Marshaling;
namespace FreeSwitch.NET namespace FreeSwitch
{ {
public partial class Switch public partial class Switch
{ {

View File

@ -32,11 +32,11 @@
using System; using System;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling; using FreeSwitch.Marshaling;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET namespace FreeSwitch
{ {
public partial class Switch public partial class Switch
{ {

View File

@ -31,10 +31,10 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET namespace FreeSwitch
{ {
/* /*
* SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname) * SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname)

View File

@ -31,10 +31,10 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Types; using FreeSwitch.Types;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET namespace FreeSwitch
{ {
/* /*
* SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname) * SWITCH_DECLARE(switch_status_t) switch_loadable_module_load_module(char *dir, char *fname)

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
} }

View File

@ -34,7 +34,7 @@ using System.Collections;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
/* /*
public class ApplicationInterface public class ApplicationInterface

View File

@ -32,7 +32,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public class Buffer public class Buffer
{ {

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public enum CallCause public enum CallCause
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public class CallerExtension public class CallerExtension
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public class CallerProfile public class CallerProfile
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
/* /*
* char *name; * char *name;

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public enum ChannelFlag public enum ChannelFlag
{ {

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public enum ChannelState public enum ChannelState
{ {

View File

@ -32,7 +32,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public class ChannelTimetable public class ChannelTimetable
{ {

View File

@ -33,9 +33,9 @@ using System;
using System.Collections; using System.Collections;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
/* /*
* uint32_t id; * uint32_t id;

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public delegate Status DtmfCallbackFunction(CoreSession session, string dtmf); public delegate Status DtmfCallbackFunction(CoreSession session, string dtmf);
} }

View File

@ -34,7 +34,7 @@ using System.Collections;
using System.Text; using System.Text;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public enum Priority public enum Priority
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public class FileHandle public class FileHandle
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Marshaling; using FreeSwitch.Marshaling;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public delegate Status InputCallbackFunction( public delegate Status InputCallbackFunction(
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))] [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))]

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public enum InputType public enum InputType
{ {

View File

@ -32,7 +32,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public class LoadableModule public class LoadableModule
{ {

View File

@ -33,9 +33,9 @@ using System;
using System.Collections; using System.Collections;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;
using FreeSwitch.NET.Marshaling; using FreeSwitch.Marshaling;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public delegate Status WriteFunction( public delegate Status WriteFunction(
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))] [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(StreamHandleMarshaler))]

View File

@ -1,7 +1,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public class MemoryPool public class MemoryPool
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Marshaling; using FreeSwitch.Marshaling;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public delegate Status ModuleReload(); public delegate Status ModuleReload();
public delegate bool ModulePause(); public delegate bool ModulePause();

View File

@ -34,7 +34,7 @@ using System.Collections;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
/* /*
public class ApplicationInterface public class ApplicationInterface

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public enum Status public enum Status
{ {

View File

@ -31,9 +31,9 @@
*/ */
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using FreeSwitch.NET.Marshaling.Types; using FreeSwitch.Marshaling.Types;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public class StreamHandle public class StreamHandle
{ {

View File

@ -31,7 +31,7 @@
*/ */
using System; using System;
namespace FreeSwitch.NET.Types namespace FreeSwitch.Types
{ {
public enum TextChannel public enum TextChannel
{ {