Add getElements method

pull/41/head
Hieromon Ikasamo 6 years ago
parent 10daf8171d
commit 09f363030d
  1. 1
      src/AutoConnectAux.h

@ -56,6 +56,7 @@ class AutoConnectAux : public PageBuilder {
template<typename T> template<typename T>
T& getElement(const String& name); 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 */ 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 release(const String& name); /**< Release an AutoConnectElement */
bool setElementValue(const String& name, const String value); /**< Set value to specified element */ bool setElementValue(const String& name, const String value); /**< Set value to specified element */

Loading…
Cancel
Save