linphone-iphone/daemon/commands/pop-event.cc
Ghislain MARY fec1c8ca74 Improve help.
- Add examples for each command
 - Add the --dump-commands-help option to output the entire help
2012-10-26 17:18:30 +02:00

13 lines
351 B
C++

#include "pop-event.h"
using namespace std;
PopEventCommand::PopEventCommand() :
DaemonCommand("pop-event", "pop-event", "Pop an event from event queue and display it.") {
addExample(new DaemonCommandExample("pop-event",
"Status: Ok\n\n"
"Size: 0"));
}
void PopEventCommand::exec(Daemon *app, const char *args) {
app->pullEvent();
}