mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-05-01 06:48:10 +03:00
22 lines
389 B
Java
22 lines
389 B
Java
package ru.gravit.launcher.modules;
|
|
|
|
import ru.gravit.utils.Version;
|
|
|
|
public interface Module extends AutoCloseable {
|
|
|
|
String getName();
|
|
|
|
Version getVersion();
|
|
|
|
int getPriority();
|
|
|
|
void init(ModuleContext context);
|
|
|
|
void postInit(ModuleContext context);
|
|
|
|
void preInit(ModuleContext context);
|
|
|
|
default void finish(ModuleContext context) {
|
|
// NOP
|
|
}
|
|
}
|