You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
306 B
19 lines
306 B
4 years ago
|
#include <QApplication>
|
||
|
|
||
|
#include "replay.hpp"
|
||
|
|
||
|
int main(int argc, char *argv[]){
|
||
|
QApplication a(argc, argv);
|
||
|
|
||
|
QString route(argv[1]);
|
||
|
if (route == "") {
|
||
|
printf("Usage: ./replay \"route\"\n");
|
||
|
return 1;
|
||
|
}
|
||
|
|
||
|
Replay *replay = new Replay(route, 0);
|
||
|
replay->stream(0);
|
||
|
|
||
|
return a.exec();
|
||
|
}
|