mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 15:33:25 +01:00
replace defines with enum
This commit is contained in:
parent
8643d14777
commit
16c11b33f3
@ -3,8 +3,11 @@
|
||||
*/
|
||||
|
||||
#define MAX_NUM_ARGS 4 /* Includes command */
|
||||
#define GLOBAL_COMMAND_MODE 0
|
||||
#define CHAT_COMMAND_MODE 1
|
||||
#define GROUPCHAT_COMMAND_MODE 2
|
||||
|
||||
enum {
|
||||
GLOBAL_COMMAND_MODE,
|
||||
CHAT_COMMAND_MODE,
|
||||
GROUPCHAT_COMMAND_MODE,
|
||||
};
|
||||
|
||||
void execute(WINDOW *window, ToxWindow *prompt, Tox *m, char *cmd, int mode);
|
Loading…
Reference in New Issue
Block a user