/**
 * File:	clients/autoyast.ycp
 * Summary:	Main file for client call
 * Authors:	Anas Nashif <nashif@suse.de>
 *
 * $Id: autoyast.ycp 21874 2005-02-23 14:45:45Z nashif $
 */
{
    textdomain "autoinst";
    import "Wizard";
    import "Mode";
    Mode::SetMode("autoinst_config");

    import "Profile";
    import "AutoinstConfig";
    import "Y2ModuleConfig";
    import "Label";
    import "Sequencer";
    import "Popup";


    include "autoinstall/dialogs.ycp";
    include "autoinstall/conftree.ycp";
    include "autoinstall/wizards.ycp";


    if (size(Y2ModuleConfig::GroupMap) == 0)
    {
        Wizard::CreateDialog();
        Popup::Error(_("Error while reading configuration data."));
        Wizard::CloseDialog();
        return `abort;
    }

    symbol ret = (symbol)AutoSequence ();
    return ret;
}
