runtime: implement a bshell_command sub-class for calling native commands

This commit is contained in:
2026-06-13 13:47:34 +01:00
parent 2332d48b0c
commit fba7987d78
4 changed files with 268 additions and 0 deletions
@@ -0,0 +1,23 @@
#ifndef BSHELL_COMMAND_NATIVE_COMMAND_H_
#define BSHELL_COMMAND_NATIVE_COMMAND_H_
#include <fx/macros.h>
FX_DECLS_BEGIN;
struct bshell_runtime;
#define BSHELL_TYPE_NATIVE_COMMAND (bshell_native_command_get_type())
FX_DECLARE_TYPE(bshell_native_command);
FX_TYPE_CLASS_DECLARATION_BEGIN(bshell_native_command)
FX_TYPE_CLASS_DECLARATION_END(bshell_native_command)
extern fx_type_id bshell_native_command_get_type(void);
extern bshell_native_command *bshell_native_command_create(const char *path);
FX_DECLS_END;
#endif