001/*
002 * Copyright (C) Cross The Road Electronics.  All rights reserved.
003 * License information can be found in CTRE_LICENSE.txt
004 * For support and suggestions contact support@ctr-electronics.com or file
005 * an issue tracker at https://github.com/CrossTheRoadElec/Phoenix-Releases
006 */
007package com.ctre.phoenixpro.jni;
008
009public class PlatformJNI {
010    public static native int JNI_SimCreate(int type, int id);
011
012    public static native int JNI_SimDestroy(int type, int id);
013
014    public static native int JNI_SimDestroyAll();
015
016    public static native int JNI_SimSetPhysicsInput(int type, int id, String physicsType, double value);
017
018    public static native double JNI_SimGetPhysicsValue(int type, int id, String physicsType);
019
020    public static native int JNI_SimGetLastError(int type, int id);
021}