package leigh.elements;

import leigh.elements.sdk.App;
import leigh.elements.sdk.Theme;

import java.io.IOException;
import java.util.UUID;

/**
 * Classes implementing this interface are capable of creating elements application instances, typically by loading
 * them from storage.
 *
 * @author Alex Leigh
 */
public interface AppFactory {
    App loadApplication(UUID id, Theme theme) throws IOException, ClassNotFoundException;
}
