2 * Copyright (c) 2000, 2001, Red Hat, Inc.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by DJ Delorie <dj@cygnus.com>
21 /* The purpose of this file is to contain all the global variables
22 that define the "state" of the install, that is, all the
23 information that the user has provided so far. These are set by
24 the various dialogs and used by the various actions.
26 Note that this is deprecated. Persistent settings should be accessed
27 via a class that stores them cross-installs, and non-persistent settings
28 directly via the appropriate class. One of the reasons for this is that
29 non-trivial types would require this file to include appropriate headers,
30 making all of setup.exe rebuild for potentially minor changes.
36 enum attend_mode
{ attended
= 0, unattended
, chooseronly
};
37 extern enum attend_mode unattended_mode
;
38 extern bool rebootneeded
;
42 extern std::string local_dir
;
45 extern int root_scope
;
47 extern int root_desktop
;
51 #endif /* SETUP_STATE_H */