*
*/
+#ifndef SETUP_STATE_H
+#define SETUP_STATE_H
+
/* The purpose of this file is to contain all the global variables
that define the "state" of the install, that is, all the
information that the user has provided so far. These are set by
*/
+#include <string>
+
+enum attend_mode { attended = 0, unattended, chooseronly };
+extern enum attend_mode unattended_mode;
+extern bool rebootneeded;
+
extern int source;
-extern char *local_dir;
+extern std::string local_dir;
extern int root_text;
extern int root_scope;
extern int root_menu;
extern int root_desktop;
-extern int net_method;
-extern char *net_proxy_host;
-extern int net_proxy_port;
-
-extern char *net_user;
-extern char *net_passwd;
-extern char *net_proxy_user;
-extern char *net_proxy_passwd;
-extern char *net_ftp_user;
-extern char *net_ftp_passwd;
-
-extern int trust_level;
+#endif /* SETUP_STATE_H */