2018-05-11 12:38:23 -07:00
|
|
|
/*----------------------------------------------------------------------------*/
|
2020-06-26 17:12:55 -07:00
|
|
|
/* Copyright (c) 2018-2020 FIRST. All Rights Reserved. */
|
2018-05-11 12:38:23 -07:00
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the project. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2018-07-20 00:03:45 -07:00
|
|
|
#include "hal/Types.h"
|
2018-05-11 12:38:23 -07:00
|
|
|
#include "jni.h"
|
|
|
|
|
|
|
|
|
|
typedef HAL_Handle SIM_JniHandle;
|
|
|
|
|
|
2020-06-26 17:12:55 -07:00
|
|
|
namespace hal {
|
2018-05-11 12:38:23 -07:00
|
|
|
namespace sim {
|
|
|
|
|
JavaVM* GetJVM();
|
|
|
|
|
|
|
|
|
|
jmethodID GetNotifyCallback();
|
|
|
|
|
jmethodID GetBufferCallback();
|
|
|
|
|
jmethodID GetConstBufferCallback();
|
|
|
|
|
jmethodID GetSpiReadAutoReceiveBufferCallback();
|
|
|
|
|
} // namespace sim
|
2020-06-26 17:12:55 -07:00
|
|
|
} // namespace hal
|