java/GlobalRef: remove method Set(), always require initialization
This commit is contained in:

committed by
Max Kellermann

parent
917fe549b0
commit
31f7fede30
@@ -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);
|
||||
|
Reference in New Issue
Block a user