initial
This commit is contained in:
20
main/kartReciever.hpp
Normal file
20
main/kartReciever.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
#ifndef KART_REC_HPP
|
||||
#define KART_REC_HPP
|
||||
|
||||
#include "kartMessage.hpp"
|
||||
|
||||
class kartReceiver {
|
||||
public:
|
||||
void init();
|
||||
bool begin();
|
||||
void end();
|
||||
bool isBegin();
|
||||
void registerCallback(void (*onReceiveCallback)(kart_msg* message));
|
||||
|
||||
private:
|
||||
bool run_status;
|
||||
};
|
||||
|
||||
extern kartReceiver kart_receiver;
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user