Move analogInputNamesLookupTable to Firmware
This commit is contained in:
committed by
Raphael Coeffic
parent
d636487663
commit
df4a4a6960
@@ -19,14 +19,12 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "datahelpers.h"
|
||||
|
||||
#include <QtCore>
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class AbstractStaticItemModel;
|
||||
|
||||
// identiying names of static abstract item models
|
||||
@@ -177,9 +175,6 @@ namespace Board {
|
||||
|
||||
}
|
||||
|
||||
typedef std::pair<int, std::string> AnalogIndexNamesLookupElmt;
|
||||
typedef std::vector<AnalogIndexNamesLookupElmt> AnalogIndexNamesLookupTable;
|
||||
|
||||
class Boards
|
||||
{
|
||||
Q_DECLARE_TR_FUNCTIONS(Boards)
|
||||
@@ -208,7 +203,7 @@ class Boards
|
||||
static Board::SwitchInfo getSwitchInfo(Board::Type board, int index);
|
||||
static int getCapability(Board::Type board, Board::Capability capability);
|
||||
static QString getAxisName(int index);
|
||||
static AnalogIndexNamesLookupTable getAnalogNamesLookupTable(Board::Type board);
|
||||
static Int2StringMappingTable getAnalogNamesLookupTable(Board::Type board);
|
||||
static int getAnalogInputIndex(Board::Type board, char * name);
|
||||
static QString getAnalogInputName(Board::Type board, int index);
|
||||
static bool isBoardCompatible(Board::Type board1, Board::Type board2);
|
||||
|
||||
Reference in New Issue
Block a user