Update manager: Notify GeoIP type and file version

This commit is contained in:
zzz
2019-12-02 15:29:42 +00:00
parent 3a7ee4f211
commit 31e8ff8f45
5 changed files with 57 additions and 7 deletions

View File

@ -230,6 +230,15 @@ public interface UpdateManager {
*/
public String getStatus();
/**
* Tell the UpdateManager that a version is already installed.
*
* @param id subtype for plugins, or ""
* @param version null to remove from installed
* @since 0.9.45
*/
public void notifyInstalled(UpdateType type, String id, String version);
/**
* For debugging
*/

View File

@ -12,7 +12,6 @@ public enum UpdateType {
ROUTER_SIGNED,
ROUTER_UNSIGNED,
PLUGIN,
/** unused */
GEOIP,
BLOCKLIST,
/** unused */