mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-04 15:34:19 +01:00
core: naming cleanup
Set -> On, when the handler could be added multiple times Remove unused functions from the headers, and add correct names for the used ones.
This commit is contained in:
@@ -361,7 +361,7 @@ void buttonSetCustomAction(ButtonEventHandler handler) {
|
||||
|
||||
std::forward_list<ButtonEventHandler> _button_notify_event;
|
||||
|
||||
void buttonSetEventNotify(ButtonEventHandler handler) {
|
||||
void buttonOnEvent(ButtonEventHandler handler) {
|
||||
_button_notify_event.push_front(handler);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user