diff options
Diffstat (limited to 'src/inc/shim/versionandlocationinfo.h')
-rw-r--r-- | src/inc/shim/versionandlocationinfo.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/inc/shim/versionandlocationinfo.h b/src/inc/shim/versionandlocationinfo.h new file mode 100644 index 0000000000..38be7f2c98 --- /dev/null +++ b/src/inc/shim/versionandlocationinfo.h @@ -0,0 +1,36 @@ +// 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.h +// +// a simple struct encapsulating version# and location code +// +// Note: must be platform independent +// +// ====================================================================================== + + +#ifndef VERSIONANDLOCATIONINFO_H +#define VERSIONANDLOCATIONINFO_H + +#include "versioninfo.h" +#include "locationinfo.h" + +struct VersionAndLocationInfo +{ +protected: + VersionInfo m_Version; + LocationInfo m_Location; +public: + VersionAndLocationInfo(); + VersionAndLocationInfo(const VersionInfo& version, const LocationInfo location); + VersionInfo Version() const; + LocationInfo Location() const ; +}; + + +#include "versionandlocationinfo.inl" + +#endif // VERSIONANDLOCATIONINFO_H + |