Kickr Skeleton Code

Added Skeleton code for device discovery, config
and runtime. Now need to develop the WFApi class
to support each function.
This commit is contained in:
Mark Liversedge
2013-01-20 19:11:16 +00:00
parent cbb53fd3f7
commit 4a42337fa2
13 changed files with 489 additions and 2 deletions

View File

@@ -124,6 +124,7 @@ AddType::clicked(QString p)
if (wizard->found == false) next =20;
else {
switch(wizard->deviceTypes.Supported[wizard->current].type) {
case DEV_KICKR :
case DEV_ANTLOCAL : next = 50; break; // pair
default:
case DEV_CT : next = 60; break; // confirm and add
@@ -181,6 +182,7 @@ DeviceScanner::quickScan(bool deep) // scan quickly or if true scan forever, as
#endif
case DEV_NULL : wizard->controller = new NullController(NULL, NULL); break;
case DEV_ANTLOCAL : wizard->controller = new ANTlocalController(NULL, NULL); break;
case DEV_KICKR : wizard->controller = new KickrController(NULL, NULL); break;
default: wizard->controller = NULL; break;