зеркало из https://github.com/microsoft/CCF.git
27 строки
577 B
C++
27 строки
577 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the Apache 2.0 License.
|
|
#pragma once
|
|
|
|
#include "ccf/node_subsystem_interface.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace ccf
|
|
{
|
|
class AbstractHostProcesses : public ccf::AbstractNodeSubSystem
|
|
{
|
|
public:
|
|
virtual ~AbstractHostProcesses() = default;
|
|
|
|
static char const* get_subsystem_name()
|
|
{
|
|
return "HostProcesses";
|
|
}
|
|
|
|
virtual void trigger_host_process_launch(
|
|
const std::vector<std::string>& args,
|
|
const std::vector<uint8_t>& input = {}) = 0;
|
|
};
|
|
}
|