001 /*
002 * To change this template, choose Tools | Templates
003 * and open the template in the editor.
004 */
005
006 package org.bridj.cs.dotnet;
007
008 import org.bridj.AbstractBridJRuntime;
009 import org.bridj.JNI;
010 import org.bridj.NativeObject;
011 import org.bridj.Pointer;
012 import org.bridj.cs.CSharpRuntime;
013 import java.lang.reflect.Type;
014 import org.bridj.Platform;
015
016 /**
017 * @see <a href="http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.getdelegateforfunctionpointer(VS.80).aspx">http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.getdelegateforfunctionpointer(VS.80).aspx</a>
018 * @author Olivier
019 */
020 public class DotNetRuntime extends AbstractBridJRuntime implements CSharpRuntime {
021
022 //@Override
023 public boolean isAvailable() {
024 return Platform.isWindows();
025 }
026
027 //@Override
028 public <T extends NativeObject> Class<? extends T> getActualInstanceClass(Pointer<T> pInstance, Type officialType) {
029 throw new UnsupportedOperationException("Not supported yet.");
030 }
031
032 //@Override
033 public void register(Type type) {
034 throw new UnsupportedOperationException("Not supported yet.");
035 }
036
037 //@Override
038 public <T extends NativeObject> TypeInfo<T> getTypeInfo(Type type) {
039 throw new UnsupportedOperationException("Not supported yet.");
040 }
041
042 }