CI: Pass host triplet to bootstrap script
[cygwin-setup.git] / state.h
blobb211de38249598e0a66f9ab825a99d859039eef0
1 /*
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
10 * http://www.gnu.org/
12 * Written by DJ Delorie <dj@cygnus.com>
16 #ifndef SETUP_STATE_H
17 #define SETUP_STATE_H
19 #include "win32.h"
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.
34 #include <string>
36 enum attend_mode { attended = 0, unattended, chooseronly };
37 extern enum attend_mode unattended_mode;
38 extern bool rebootneeded;
40 extern int source;
42 extern std::string local_dir;
44 extern int root_text;
45 extern int root_scope;
46 extern int root_menu;
47 extern int root_desktop;
49 extern LANGID langid;
51 #endif /* SETUP_STATE_H */