1// Licensed to the .NET Foundation under one or more agreements.
2// The .NET Foundation licenses this file to you under the MIT license.
3// See the LICENSE file in the project root for more information.
4// ============================================================
5//
6// Variables.hpp
7//
8
9
10//
11// Defines the Variables class
12//
13// ============================================================
14
15#ifndef __BINDER__VARIABLES_HPP__
16#define __BINDER__VARIABLES_HPP__
17
18#include "bindertypes.hpp"
19
20namespace BINDER_SPACE
21{
22 class Variables
23 {
24 public:
25 Variables();
26 ~Variables();
27
28 HRESULT Init();
29
30 // ApplicationContext string constants
31 SString AppBaseURL;
32 SString DynamicDirectory;
33 SString DynamicBaseDirectory;
34 SString AppName;
35 SString AppConfigFile;
36 SString AppDomainId;
37
38 // AssemblyBinder string constants
39 SString httpURLPrefix;
40
41 // AssemblyName string constants
42 SString architectureMSIL;
43 SString architectureX86;
44 SString architectureAMD64;
45 SString architectureARM;
46 SString architectureARM64;
47 SString cultureNeutral;
48 SString emptyString;
49 SString mscorlib;
50
51#ifdef FEATURE_VERSIONING_LOG
52 BOOL fLoggingNeeded;
53 SString logPath;
54#endif // FEATURE_VERSIONING_LOG
55#ifndef DACCESS_COMPILE
56#ifdef BINDER_DEBUG_LOG
57 CRITSEC_COOKIE m_logCS;
58 HandleHolder m_hDebugLogFile;
59#endif // BINDER_DEBUG_LOG
60#endif
61 };
62
63 extern Variables *g_BinderVariables;
64};
65
66#endif
67