edfb3e24a3
bshell: the front-end binary bshell.runtime: contains the parser, compiler, and classes needed to run bshell scripts bshell.core: contains the builtin commandlets and aliases
26 lines
456 B
C
26 lines
456 B
C
#ifndef BSHELL_COMMAND_CMDLET_H_
|
|
#define BSHELL_COMMAND_CMDLET_H_
|
|
|
|
#include "../verb.h"
|
|
|
|
#include <fx/macros.h>
|
|
|
|
FX_DECLS_BEGIN;
|
|
|
|
struct bshell_runtime;
|
|
|
|
#define BSHELL_TYPE_CMDLET (bshell_cmdlet_get_type())
|
|
|
|
FX_DECLARE_TYPE(bshell_cmdlet);
|
|
|
|
FX_TYPE_CLASS_DECLARATION_BEGIN(bshell_cmdlet)
|
|
enum bshell_verb_id c_verb;
|
|
const char *c_noun;
|
|
FX_TYPE_CLASS_DECLARATION_END(bshell_cmdlet)
|
|
|
|
extern fx_type_id bshell_cmdlet_get_type(void);
|
|
|
|
FX_DECLS_END;
|
|
|
|
#endif
|