From 09f363030dda2d6253af39068ffab714d5eb162a Mon Sep 17 00:00:00 2001 From: Hieromon Ikasamo Date: Fri, 4 Jan 2019 05:51:22 +0900 Subject: [PATCH] Add getElements method --- src/AutoConnectAux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AutoConnectAux.h b/src/AutoConnectAux.h index 6e269e1..078aec1 100644 --- a/src/AutoConnectAux.h +++ b/src/AutoConnectAux.h @@ -55,7 +55,8 @@ class AutoConnectAux : public PageBuilder { void add(AutoConnectElementVT addons); /**< Add the element set to the auxiliary page */ template T& getElement(const String& name); - AutoConnectElement* getElement(const String& name); /**< Get registered AutoConnectElement as specified name */ + AutoConnectElement* getElement(const String& name); /**< Get registered AutoConnectElement as specified name */ + AutoConnectElementVT& getElements(void) { return _addonElm; } /**< Get vector of all elements */ void menu(const bool post) { _menu = post; } /**< Set or reset the display as menu item for this aux */ bool release(const String& name); /**< Release an AutoConnectElement */ bool setElementValue(const String& name, const String value); /**< Set value to specified element */