mirror of
https://github.com/0015/ThatProject.git
synced 2026-01-13 01:37:43 +03:00
16 lines
289 B
C++
16 lines
289 B
C++
#include "Button2.h"
|
|
class ButtonCont {
|
|
private:
|
|
Button2* button;
|
|
friend void receiveCallback(Button2& btn);
|
|
typedef void (*FuncPtrVoid)(void);
|
|
|
|
public:
|
|
FuncPtrVoid released_cb;
|
|
ButtonCont(FuncPtrVoid f);
|
|
ButtonCont();
|
|
~ButtonCont();
|
|
|
|
void loop();
|
|
void eventTrigger();
|
|
}; |