mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.3 KiB
49 lines
1.3 KiB
using System; |
|
using NUnit.Framework; |
|
|
|
using Mono.VisualC.Interop; |
|
using Mono.VisualC.Interop.ABI; |
|
|
|
namespace Tests.Support { |
|
public class CPPTestLibBase : ICppObject { |
|
|
|
protected CppLibrary TestLib { get; private set; } |
|
|
|
protected CPPTestLibBase () |
|
{ |
|
} |
|
|
|
protected CPPTestLibBase (CppAbi abi) |
|
{ |
|
this.TestLib = new CppLibrary ("CPPTestLib", abi); |
|
} |
|
|
|
|
|
protected CSimpleClass.ICSimpleClass Klass { |
|
get { |
|
if (CSimpleClass._impl == null) |
|
CSimpleClass.Bind (TestLib); |
|
return CSimpleClass._impl; |
|
} |
|
} |
|
public IntPtr Native { |
|
get { |
|
throw new System.NotImplementedException (); |
|
} |
|
} |
|
|
|
public void Dispose () |
|
{ |
|
throw new System.NotImplementedException (); |
|
} |
|
|
|
|
|
} |
|
|
|
public interface EmptyTestInterface : ICppClassOverridable<CPPTestLibBase> { |
|
} |
|
|
|
public struct EmptyTestStruct { |
|
} |
|
} |
|
|
|
|