home *** CD-ROM | disk | FTP | other *** search
- /**
- * File: test_proposal.ycp
- * Summary: For testing the network and hardware proposals.
- * Author: Michal Svec <msvec@suse.cz>
- *
- * $Id: test_inst_client.ycp 32528 2006-08-23 11:23:58Z jsrain $
- */
-
- {
-
- import "Mode";
- import "Stage";
- import "Wizard";
-
- /*
- map args = $[];
- args["enable_back"] = true;
- args["enable_next"] = true;
- */
-
- any aclient = WFM::Args (0);
- if (!is (aclient, string))
- return false;
- string client = (string) aclient;
- if (find (client, "inst_") != 0)
- {
- client = "inst_" + client;
- }
-
- Stage::Set ("continue");
- Mode::SetMode ("installation");
-
- Wizard::CreateDialog ();
- WFM::call (client, []);
- Wizard::CloseDialog ();
-
- return true;
- /* EOF */
- }
-