Files
StarPilot/selfdrive/ui/replay/main.cc
T
Dean Lee 9a827fea20 c++ cleanup: standardize file extensions to .cc and .h (#20800)
* c++ cleanup: standardize file extensions to .cc and .h

* cleanup files_common
old-commit-hash: 81491dc57f5080c602a0be58dd5f9feba2fa31b9
2021-05-03 11:53:11 +02:00

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();
}