Clean menu -- made to use standart GNOME menu entries
[midnight-commander.git] / src / command.h
blob8804a54c77d5d373acbef9482de7f158f7b4ddc0
1 #ifndef __COMMAND_H
2 #define __COMMAND_H
4 typedef struct {
5 WInput input;
6 callback_fn old_callback;
7 } WCommand;
9 WCommand *command_new (int y, int x, int len);
11 /* Return the Input * from a WCommand */
12 #define input_w(x) (&(x->input))
14 extern WCommand *cmdline;
16 void do_cd_command (char *cmd);
18 #endif /* __COMMAND_H */