v0.8.2c: added reviews to the structure of update services

This commit is contained in:
Evan Debenham
2020-08-19 20:45:03 -04:00
parent 210c96c02c
commit 2675901bea
4 changed files with 33 additions and 0 deletions
@@ -21,6 +21,8 @@
package com.shatteredpixel.shatteredpixeldungeon.services.updates;
//TODO with install and review functionality, this service is less and less just about updates
// perhaps rename to PlatformService, StoreService, DistributionService, etc?
public abstract class UpdateService {
public static abstract class UpdateResultCallback {
@@ -41,4 +43,10 @@ public abstract class UpdateService {
public abstract void initializeInstall();
public static abstract class ReviewResultCallback {
public abstract void onComplete();
}
public abstract void initializeReview( ReviewResultCallback callback );
}