Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/installer/corehost/cli/bundle/runner.h')
-rw-r--r--src/installer/corehost/cli/bundle/runner.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/src/installer/corehost/cli/bundle/runner.h b/src/installer/corehost/cli/bundle/runner.h
deleted file mode 100644
index fb4d74bf877..00000000000
--- a/src/installer/corehost/cli/bundle/runner.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// 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.
-
-#ifndef __RUNNER_H__
-#define __RUNNER_H__
-
-#include "error_codes.h"
-#include "header.h"
-#include "manifest.h"
-#include "info.h"
-
-// bundle::runner extends bundle::info to supports:
-// * Reading the bundle manifest and identifying file locations for the runtime
-// * Extracting bundled files to disk when necessary
-// bundle::runner is used by HostPolicy.
-
-namespace bundle
-{
- class runner_t : public info_t
- {
- public:
- runner_t(const pal::char_t* bundle_path,
- const pal::char_t *app_path,
- int64_t header_offset)
- : info_t(bundle_path, app_path, header_offset) {}
-
- const pal::string_t& extraction_path() const { return m_extraction_path; }
-
- const file_entry_t *probe(const pal::string_t& path) const;
- bool locate(const pal::string_t& relative_path, pal::string_t& full_path) const;
-
- static StatusCode process_manifest_and_extract()
- {
- return ((runner_t*) the_app)->extract();
- }
-
- static const runner_t* app() { return (const runner_t*)the_app; }
-
- private:
-
- StatusCode extract();
-
- manifest_t m_manifest;
- pal::string_t m_extraction_path;
- };
-}
-
-#endif // __RUNNER_H__