From e05adb157803a82d5bfa1e2b498799110f48d451 Mon Sep 17 00:00:00 2001 From: Yana Stamcheva Date: Thu, 19 May 2011 11:10:07 +0000 Subject: [PATCH] Check for create form for all account registration wizards before sending the user to the web registration page. --- .../service/gui/CreateAccountWindow.java | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/net/java/sip/communicator/service/gui/CreateAccountWindow.java diff --git a/src/net/java/sip/communicator/service/gui/CreateAccountWindow.java b/src/net/java/sip/communicator/service/gui/CreateAccountWindow.java new file mode 100644 index 000000000..f972e0fc5 --- /dev/null +++ b/src/net/java/sip/communicator/service/gui/CreateAccountWindow.java @@ -0,0 +1,29 @@ +/* + * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. + * + * Distributable under LGPL license. + * See terms of license at gnu.org. + */ +package net.java.sip.communicator.service.gui; + +/** + * + * @author Yana Stamcheva + */ +public interface CreateAccountWindow +{ + /** + * Shows or hides this create account window. + * + * @param visible true to show this window, false - + * otherwise + */ + public void setVisible(boolean visible); + + /** + * Sets the selected wizard. + * + * @param wizard the wizard to select + */ + public void setSelectedWizard(AccountRegistrationWizard wizard); +}