summaryrefslogtreecommitdiff
path: root/src/inc/shim/versionandlocationinfo.inl
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc/shim/versionandlocationinfo.inl')
-rw-r--r--src/inc/shim/versionandlocationinfo.inl35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/inc/shim/versionandlocationinfo.inl b/src/inc/shim/versionandlocationinfo.inl
new file mode 100644
index 0000000000..37c0d98c92
--- /dev/null
+++ b/src/inc/shim/versionandlocationinfo.inl
@@ -0,0 +1,35 @@
+// 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.
+//
+// versionandlocationinfo.inl
+//
+// simple accessors for the struct encapsulating version# and location code
+//
+// Note: must be platform independent
+//
+// ======================================================================================
+
+
+inline VersionAndLocationInfo::VersionAndLocationInfo():
+ m_Version(0,0,0,0),
+ m_Location(Loc_Undefined)
+{
+};
+
+inline VersionAndLocationInfo::VersionAndLocationInfo(const VersionInfo& version, const LocationInfo location):
+ m_Version(version),
+ m_Location(location)
+{
+};
+
+inline VersionInfo VersionAndLocationInfo::Version() const
+{
+ return m_Version;
+};
+
+inline LocationInfo VersionAndLocationInfo::Location() const
+{
+ return m_Location;
+};
+