]> cygwin.com Git - cygwin-apps/setup.git/blob - state.h
2003-07-08 Max Bowsher <maxb@ukf.net>
[cygwin-apps/setup.git] / state.h
1 /*
2 * Copyright (c) 2000, 2001, Red Hat, Inc.
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
16 #ifndef SETUP_STATE_H
17 #define SETUP_STATE_H
18
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
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 */
31
32 #include "String++.h"
33
34 extern bool unattended_mode;
35
36 extern int source;
37
38 extern String local_dir;
39
40 extern int root_text;
41 extern int root_scope;
42 extern int root_menu;
43 extern int root_desktop;
44
45 extern int net_method;
46 extern char *net_proxy_host;
47 extern int net_proxy_port;
48
49 extern char *net_user;
50 extern char *net_passwd;
51 extern char *net_proxy_user;
52 extern char *net_proxy_passwd;
53 extern char *net_ftp_user;
54 extern char *net_ftp_passwd;
55
56
57 #endif /* SETUP_STATE_H */
This page took 0.036268 seconds and 5 git commands to generate.