diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-12-08 09:26:34 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-12-08 09:26:34 +0100 |
commit | 7db6cde62ee6df76df798f108b747398de8ab26b (patch) | |
tree | ed0bda680a7f2d02f877d153a8b8c7307d3e8cb5 /confui/mesh_connector.h | |
parent | 170f1d1dc4291aaac001e69002f5c80d03798e52 (diff) |
half fix menu bar and update automation
Diffstat (limited to 'confui/mesh_connector.h')
-rw-r--r-- | confui/mesh_connector.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/confui/mesh_connector.h b/confui/mesh_connector.h index 2d9931e..220974a 100644 --- a/confui/mesh_connector.h +++ b/confui/mesh_connector.h @@ -50,7 +50,8 @@ public: virtual map<cd_mac_addr_cpp_t, cd_s_node*> get_nodes(bool provisioned); virtual vector<cd_s_node*> get_raw_nodes(); virtual vector<cd_s_automation*> get_config(); - virtual cd_link_t set_link(cd_s_node* button, cd_s_node* light, enum cd_e_automation_type action); + virtual cd_link_t create_link(cd_s_node* button, cd_s_node* light, enum cd_e_automation_type action); + virtual void set_link(cd_link_t link, cd_s_automation* automation); virtual void remove_link(cd_link_t link_handle); virtual cd_s_node* get_node_by_id(cd_mac_addr_t address); virtual void update_node(cd_s_node* node_ptr); |