Moved defunct invitation and installer code to sandpit repo.

This commit is contained in:
akwizgran
2012-07-03 10:49:43 +01:00
parent 3eb3f8be3d
commit f4b34ca975
43 changed files with 2 additions and 2357 deletions

View File

@@ -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);
}

View File

@@ -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();
}

View File

@@ -1,7 +0,0 @@
package net.sf.briar.api.invitation;
public interface InvitationWorkerFactory {
Runnable createWorker(InvitationCallback callback,
InvitationParameters parameters);
}

View File

@@ -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);
}

View File

@@ -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();
}

View File

@@ -1,6 +0,0 @@
package net.sf.briar.api.setup;
public interface SetupWorkerFactory {
Runnable createWorker(SetupCallback callback, SetupParameters parameters);
}