Initial version

This commit is contained in:
Alexander Kobjolke 2022-02-26 00:23:43 +01:00
commit 04b878f078
28 changed files with 1771 additions and 0 deletions

View file

@ -0,0 +1,22 @@
#ifndef PROCESS_SERVICE_WRAPPER_HPP
#define PROCESS_SERVICE_WRAPPER_HPP
#include <cstdint>
namespace process::servicewrapper {
class ServiceWrapper {
public:
/**
* Tells the wrapper to run the service for execution.
* This will start the service run and will block until
* the service is done or died
* @returns exit code of service implementation; return value for service main
*/
virtual uint32_t run() const = 0;
virtual ~ServiceWrapper() = default;
};
}
#endif //!< PROCESS_SERVICE_WRAPPER_HPP