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.
25 lines
817 B
25 lines
817 B
using System; |
|
|
|
using Mono.VisualC.Interop; |
|
using Mono.VisualC.Interop.ABI; |
|
|
|
namespace Qt { |
|
internal static class Libs { |
|
public static CppLibrary QtCore = null; |
|
public static CppLibrary QtGui = null; |
|
|
|
static Libs () |
|
{ |
|
CppAbi abi; |
|
if (Environment.OSVersion.Platform == PlatformID.Win32NT) |
|
abi = new MsvcAbi (); |
|
else |
|
abi = new ItaniumAbi (); |
|
|
|
|
|
QtCore = new CppLibrary ("/Library/Frameworks/QtCore.framework/Versions/Current/QtCore", abi); |
|
QtGui = new CppLibrary ("/Library/Frameworks/QtGui.framework/Versions/Current/QtGui", abi); |
|
} |
|
} |
|
} |
|
|
|
|