mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 17:09:56 +00:00
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:
@@ -122,6 +122,8 @@
|
||||
#include "LibraryParser.h"
|
||||
#include "TrainDB.h"
|
||||
|
||||
#include "WFApi.h"
|
||||
|
||||
QList<MainWindow *> mainwindows; // keep track of all the MainWindows we have open
|
||||
QDesktopWidget *desktop = NULL;
|
||||
|
||||
@@ -130,6 +132,8 @@ MainWindow::MainWindow(const QDir &home) :
|
||||
zones_(new Zones), hrzones_(new HrZones),
|
||||
ride(NULL), workout(NULL)
|
||||
{
|
||||
qDebug()<<"currentstate="<<WFApi::getInstance()->currentState();
|
||||
WFApi::getInstance()->enableBTLE(true, true);
|
||||
|
||||
if (desktop == NULL) desktop = QApplication::desktop();
|
||||
static const QIcon hideIcon(":images/toolbar/main/hideside.png");
|
||||
|
||||
Reference in New Issue
Block a user