| 998 | ProgressMessageDialog(jlong progressId) : progressId(progressId) {} |
| 999 | |
| 1000 | void Create(const std::string &msg, const std::string &title) override { |
| 1001 | rpcsx_android.warning("ProgressMessageDialog::Create(%s, %s)", msg, title); |
| 1002 | max = 100; |
| 1003 | invokeSync([this, &msg](JNIEnv *env) { |
| 1004 | Progress progress(env, progressId); |
| 1005 | progress.report(0, 0, msg); |
| 1006 | }); |
| 1007 | } |
| 1008 | |
| 1009 | jlong getValue() const { |
| 1010 | return value == max && max != 0 ? value - 1 : value; |
nothing calls this directly
no test coverage detected