Index: sources/view/settings/VSettings.h =================================================================== diff -u -r265ce7409a0ea99a4ae059f5ce7978c9cdb10631 -r30d7e9993624feb138e7532ad2feaefc592f6a63 --- sources/view/settings/VSettings.h (.../VSettings.h) (revision 265ce7409a0ea99a4ae059f5ce7978c9cdb10631) +++ sources/view/settings/VSettings.h (.../VSettings.h) (revision 30d7e9993624feb138e7532ad2feaefc592f6a63) @@ -23,6 +23,7 @@ #include "MSettings.h" #include "VView.h" #include "StorageGlobals.h" +#include "GuiController.h" namespace View { @@ -44,7 +45,26 @@ SETTINGS(bool , noCANBus , false , Storage::Settings_Category_NoCANBus , "Navigation" , "Create Treatment To Patient ID" ) VIEW_DEC(VSettings, SettingsData) +private: + typedef qint16 TID ; + typedef qint16 TParamIndex ; + typedef struct { + QString group ; + quint16 keyIndex; + quint16 locIndex; + quint16 prmIndex; + } TLocation; + typedef QList TLocationList; + typedef QMap TReplacements; + TReplacements _replacements; +private: + void updateInstructions (const QString &vGroup, QStringList &vKeys, const QVariantList &vValues); + void updateReplacements (const QString &vGroup, QStringList &vKeys); + +private slots: + void onActionReceive (GuiActionType vAction, const QVariantList &vData); + }; }