java/GlobalRef: remove method Set(), always require initialization

This commit is contained in:
Max Kellermann
2021-07-23 18:19:53 +02:00
committed by Max Kellermann
parent 917fe549b0
commit 31f7fede30
2 changed files with 0 additions and 21 deletions

View File

@@ -30,10 +30,6 @@ class AudioManager : public Java::GlobalObject {
public:
AudioManager(JNIEnv *env, jobject obj) noexcept;
AudioManager(std::nullptr_t) noexcept { maxVolume = 0; }
~AudioManager() noexcept {}
int GetMaxVolume() { return maxVolume; }
int GetVolume(JNIEnv *env);
void SetVolume(JNIEnv *env, int);