HiveMind
src
application-interface
include
application-interface
IButtonCallbackRegister.h
Go to the documentation of this file.
1
#ifndef IBUTTONCALLBACKREGISTER_H_
2
#define IBUTTONCALLBACKREGISTER_H_
3
4
#include <
application-interface/IApplicationInterface.h
>
5
7
class
IButtonCallbackRegister
{
8
public
:
9
virtual
~IButtonCallbackRegister
() =
default
;
10
14
virtual
void
setCallback
(
buttonCallbackFunction_t
callback,
void
* context) = 0;
15
};
16
17
#endif // IBUTTONCALLBACKREGISTER_H_
IApplicationInterface.h
IButtonCallbackRegister
Manages the callback of a single button.
Definition:
IButtonCallbackRegister.h:7
IButtonCallbackRegister::setCallback
virtual void setCallback(buttonCallbackFunction_t callback, void *context)=0
sets the callback to the managed button
IButtonCallbackRegister::~IButtonCallbackRegister
virtual ~IButtonCallbackRegister()=default
buttonCallbackFunction_t
void(* buttonCallbackFunction_t)(void *instance)
Prototype for a callback from a button press.
Definition:
IUserInterface.h:28
Generated by
1.8.17