| |
1 /** @page cmd-signals Command Signals |
| |
2 @signals |
| |
3 @signal cmd-added |
| |
4 @signal cmd-removed |
| |
5 @endsignals |
| |
6 |
| |
7 @see cmds.h |
| |
8 |
| |
9 @signaldef cmd-added |
| |
10 @signalproto |
| |
11 void (*cmd_added)(const char *command, PurpleCmdPriority priority, |
| |
12 PurpleCmdFlag flag); |
| |
13 @endsignalproto |
| |
14 @signaldesc |
| |
15 Emitted when a new command is added. |
| |
16 @param command The new command. |
| |
17 @param priority The priority of the new command. |
| |
18 @param flag The command flags. |
| |
19 @endsignaldef |
| |
20 |
| |
21 @signaldef cmd-removed |
| |
22 @signalproto |
| |
23 void (*cmd_removed)(const char *command); |
| |
24 @endsignalproto |
| |
25 @signaldesc |
| |
26 Emitted when a command is removed. |
| |
27 @param command The removed command. |
| |
28 @endsignaldef |
| |
29 */ |