Initial commit

This commit is contained in:
2023-11-26 20:13:49 +01:00
commit dc2dc5c58b
820 changed files with 258269 additions and 0 deletions

26
src/app/ButtonEvent.h Normal file
View File

@ -0,0 +1,26 @@
/*
* ButtonEvent.h
*
* Created on: 21 nov. 2023
* Author: remi.heredero
*/
#ifndef BUTTONEVENT_H_
#define BUTTONEVENT_H_
#include "xf/customevent.h"
class ButtonEvent : public XFCustomEvent {
public:
ButtonEvent(int id, interface::XFReactive * pBehavior, uint8_t buttonId);
virtual ~ButtonEvent() = default;
protected:
uint8_t buttonId_;
public:
inline uint8_t getButtonId() {return buttonId_; }
};
#endif /* BUTTONEVENT_H_ */