Android: Hook up most of the settings interface mutators
This commit is contained in:
@ -28,13 +28,26 @@ public:
|
||||
bool AddToStringList(const char* section, const char* key, const char* item) override;
|
||||
|
||||
private:
|
||||
jobject GetPreferencesEditor(JNIEnv* env);
|
||||
void CheckForException(JNIEnv* env, const char* task);
|
||||
|
||||
jclass m_set_class{};
|
||||
jclass m_shared_preferences_class{};
|
||||
jclass m_shared_preferences_editor_class{};
|
||||
jclass m_helper_class{};
|
||||
jobject m_java_shared_preferences{};
|
||||
jmethodID m_get_boolean{};
|
||||
jmethodID m_get_int{};
|
||||
jmethodID m_get_float{};
|
||||
jmethodID m_get_string{};
|
||||
jmethodID m_get_string_set{};
|
||||
jmethodID m_edit{};
|
||||
jmethodID m_edit_set_string{};
|
||||
jmethodID m_edit_commit{};
|
||||
jmethodID m_edit_remove{};
|
||||
jmethodID m_set_to_array{};
|
||||
jmethodID m_helper_clear_section{};
|
||||
jmethodID m_helper_add_to_string_list{};
|
||||
jmethodID m_helper_remove_from_string_list{};
|
||||
jmethodID m_helper_set_string_list{};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user