mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
24 lines
503 B
C
24 lines
503 B
C
/*
|
|
* Copyright 2010-2016 Branimir Karadzic. All rights reserved.
|
|
* License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
|
|
*/
|
|
|
|
#ifndef CMD_H_HEADER_GUARD
|
|
#define CMD_H_HEADER_GUARD
|
|
|
|
struct CmdContext;
|
|
typedef int (*ConsoleFn)(CmdContext* _context, void* _userData, int _argc, char const* const* _argv);
|
|
|
|
///
|
|
void cmdInit();
|
|
|
|
///
|
|
void cmdShutdown();
|
|
|
|
///
|
|
void cmdAdd(const char* _name, ConsoleFn _fn, void* _userData = NULL);
|
|
|
|
///
|
|
void cmdExec(const char* _cmd);
|
|
|
|
#endif // CMD_H_HEADER_GUARD
|