mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-09 19:39:00 +08:00
9a827fea20
* c++ cleanup: standardize file extensions to .cc and .h * cleanup files_common old-commit-hash: 81491dc57f5080c602a0be58dd5f9feba2fa31b9
19 lines
304 B
C++
19 lines
304 B
C++
#include <QApplication>
|
|
|
|
#include "replay.h"
|
|
|
|
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();
|
|
}
|