]> cygwin.com Git - cygwin-apps/setup.git/blame - state.h
Added dpiAwareness element to manifest
[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
069cfbb4
JT
19#include "win32.h"
20
23c9e63c
DD
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
de6a1a64
RC
24 the various dialogs and used by the various actions.
25
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.
31
32 */
23c9e63c 33
08678720 34#include <string>
3c054baf 35
7a4e611a
DK
36enum attend_mode { attended = 0, unattended, chooseronly };
37extern enum attend_mode unattended_mode;
0407753c 38extern bool rebootneeded;
f2ff9838 39
b24c88b3 40extern int source;
23c9e63c 41
08678720 42extern std::string local_dir;
c92e1307 43
b24c88b3
RC
44extern int root_text;
45extern int root_scope;
46extern int root_menu;
47extern int root_desktop;
23c9e63c 48
069cfbb4
JT
49extern LANGID langid;
50
12e726c4 51#endif /* SETUP_STATE_H */
This page took 0.161302 seconds and 6 git commands to generate.