summaryrefslogtreecommitdiff
path: root/src/binder/inc/variables.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/binder/inc/variables.hpp')
-rw-r--r--src/binder/inc/variables.hpp66
1 files changed, 66 insertions, 0 deletions
diff --git a/src/binder/inc/variables.hpp b/src/binder/inc/variables.hpp
new file mode 100644
index 0000000000..d2cf742a23
--- /dev/null
+++ b/src/binder/inc/variables.hpp
@@ -0,0 +1,66 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+// ============================================================
+//
+// Variables.hpp
+//
+
+
+//
+// Defines the Variables class
+//
+// ============================================================
+
+#ifndef __BINDER__VARIABLES_HPP__
+#define __BINDER__VARIABLES_HPP__
+
+#include "bindertypes.hpp"
+
+namespace BINDER_SPACE
+{
+ class Variables
+ {
+ public:
+ Variables();
+ ~Variables();
+
+ HRESULT Init();
+
+ // ApplicationContext string constants
+ SString AppBaseURL;
+ SString DynamicDirectory;
+ SString DynamicBaseDirectory;
+ SString AppName;
+ SString AppConfigFile;
+ SString AppDomainId;
+
+ // AssemblyBinder string constants
+ SString httpURLPrefix;
+
+ // AssemblyName string constants
+ SString architectureMSIL;
+ SString architectureX86;
+ SString architectureAMD64;
+ SString architectureARM;
+ SString architectureARM64;
+ SString cultureNeutral;
+ SString emptyString;
+ SString mscorlib;
+
+#ifdef FEATURE_VERSIONING_LOG
+ BOOL fLoggingNeeded;
+ SString logPath;
+#endif // FEATURE_VERSIONING_LOG
+#ifndef DACCESS_COMPILE
+#ifdef BINDER_DEBUG_LOG
+ CRITSEC_COOKIE m_logCS;
+ HandleHolder m_hDebugLogFile;
+#endif // BINDER_DEBUG_LOG
+#endif
+ };
+
+ extern Variables *g_BinderVariables;
+};
+
+#endif