runtime: implement a bshell_command sub-class for calling native commands
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user