mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
feat(profile): add more work related to console
This commit is contained in:
parent
08b49c5197
commit
e95eb3354d
49 changed files with 9188 additions and 245 deletions
21
profile/3.3.5a-windows-386/include/console/command.h
Normal file
21
profile/3.3.5a-windows-386/include/console/command.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef CONSOLE_COMMAND_H
|
||||
#define CONSOLE_COMMAND_H
|
||||
|
||||
DECLARE_STRUCT(CONSOLECOMMAND);
|
||||
|
||||
#include "console/types.h"
|
||||
#include "storm/hash.h"
|
||||
|
||||
STORM_TS_HASH(CONSOLECOMMAND, HASHKEY_STRI);
|
||||
|
||||
typedef int32_t (*COMMANDHANDLER)(const char*, const char*);
|
||||
|
||||
// class CONSOLECOMMAND : public TSHashObject<CONSOLECOMMAND, HASHKEY_STRI>
|
||||
struct CONSOLECOMMAND {
|
||||
TSHashObject_CONSOLECOMMAND_HASHKEY_STRI b_base;
|
||||
COMMANDHANDLER m_handler;
|
||||
const char* m_helpText;
|
||||
CATEGORY m_category;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue