]> cygwin.com Git - cygwin-apps/setup.git/blame - state.h
* prereq.cc (PrereqChecker::getUnmetString): Improve dependency list
[cygwin-apps/setup.git] / state.h
CommitLineData
23c9e63c 1/*
85553593 2 * Copyright (c) 2000, 2001, Red Hat, Inc.
23c9e63c
DD
3 *
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.
8 *
9 * A copy of the GNU General Public License can be found at
10 * http://www.gnu.org/
11 *
12 * Written by DJ Delorie <dj@cygnus.com>
13 *
14 */
15
12e726c4
MB
16#ifndef SETUP_STATE_H
17#define SETUP_STATE_H
18
23c9e63c
DD
19/* The purpose of this file is to contain all the global variables
20 that define the "state" of the install, that is, all the
21 information that the user has provided so far. These are set by
de6a1a64
RC
22 the various dialogs and used by the various actions.
23
24 Note that this is deprecated. Persistent settings should be accessed
25 via a class that stores them cross-installs, and non-persistent settings
26 directly via the appropriate class. One of the reasons for this is that
27 non-trivial types would require this file to include appropriate headers,
28 making all of setup.exe rebuild for potentially minor changes.
29
30 */
23c9e63c 31
08678720 32#include <string>
3c054baf 33
7a4e611a
DK
34enum attend_mode { attended = 0, unattended, chooseronly };
35extern enum attend_mode unattended_mode;
0407753c 36extern bool rebootneeded;
f2ff9838 37
b24c88b3 38extern int source;
23c9e63c 39
08678720 40extern std::string local_dir;
c92e1307 41
b24c88b3
RC
42extern int root_text;
43extern int root_scope;
44extern int root_menu;
45extern int root_desktop;
23c9e63c 46
12e726c4 47#endif /* SETUP_STATE_H */
This page took 0.057335 seconds and 5 git commands to generate.