23 lines
309 B
C++
23 lines
309 B
C++
|
#include "drone.h"
|
||
|
|
||
|
Drone *drone;
|
||
|
|
||
|
//void FindDevList(void);
|
||
|
|
||
|
int myport;
|
||
|
|
||
|
int main(int argc, char *argv[])
|
||
|
{
|
||
|
QApplication app(argc, argv);
|
||
|
|
||
|
// FIXME(HIGH)
|
||
|
if (argc > 1)
|
||
|
myport = atoi(argv[1]);
|
||
|
|
||
|
drone = new Drone;
|
||
|
//FindDevList();
|
||
|
drone->show();
|
||
|
return app.exec();
|
||
|
}
|
||
|
|