mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
Moved defunct invitation and installer code to sandpit repo.
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
package net.sf.briar.api.invitation;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
|
||||
/** A progress callback for creating an invitation. */
|
||||
public interface InvitationCallback {
|
||||
|
||||
/** Returns true if the process has been cancelled by the user. */
|
||||
boolean isCancelled();
|
||||
|
||||
void copyingFile(File f);
|
||||
|
||||
void encryptingFile(File f);
|
||||
|
||||
void created(List<File> files);
|
||||
|
||||
void error(String message);
|
||||
|
||||
void notFound(File f);
|
||||
|
||||
void notDirectory(File f);
|
||||
|
||||
void notAllowed(File f);
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
package net.sf.briar.api.invitation;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/** Provides the parameters for creating an invitation. */
|
||||
public interface InvitationParameters {
|
||||
|
||||
boolean shouldCreateExe();
|
||||
|
||||
boolean shouldCreateJar();
|
||||
|
||||
char[] getPassword();
|
||||
|
||||
File getChosenLocation();
|
||||
|
||||
File getSetupDat();
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package net.sf.briar.api.invitation;
|
||||
|
||||
public interface InvitationWorkerFactory {
|
||||
|
||||
Runnable createWorker(InvitationCallback callback,
|
||||
InvitationParameters parameters);
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
package net.sf.briar.api.setup;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/** A progress callback for the installation process. */
|
||||
public interface SetupCallback {
|
||||
|
||||
/** Returns true if the process has been cancelled by the user. */
|
||||
boolean isCancelled();
|
||||
|
||||
void extractingFile(File f);
|
||||
|
||||
void copyingFile(File f);
|
||||
|
||||
void installed(File f);
|
||||
|
||||
void error(String message);
|
||||
|
||||
void notFound(File f);
|
||||
|
||||
void notDirectory(File f);
|
||||
|
||||
void notAllowed(File f);
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
package net.sf.briar.api.setup;
|
||||
|
||||
import java.io.File;
|
||||
|
||||
/** Provides the parameters for the installation process. */
|
||||
public interface SetupParameters {
|
||||
|
||||
File getChosenLocation();
|
||||
|
||||
long getExeHeaderSize();
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
package net.sf.briar.api.setup;
|
||||
|
||||
public interface SetupWorkerFactory {
|
||||
|
||||
Runnable createWorker(SetupCallback callback, SetupParameters parameters);
|
||||
}
|
||||
Reference in New Issue
Block a user