20 lines
512 B
Java
20 lines
512 B
Java
package de.mc8051.arma3launcher.utils;
|
|
|
|
import de.mc8051.arma3launcher.repo.Response;
|
|
|
|
import java.io.File;
|
|
|
|
/**
|
|
* Created by gurkengewuerz.de on 24.03.2020.
|
|
*/
|
|
public class Callback {
|
|
|
|
public static interface JFileSelectCallback { //declare an interface with the callback methods, so you can use on more than one class and just refer to the interface
|
|
boolean allowSelection(File path);
|
|
}
|
|
|
|
public static interface HttpCallback {
|
|
void response(Response r);
|
|
}
|
|
}
|