mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
2ffb08b9ca
Like was done for AP_HAL_Linux in 2ac96b9
("AP_HAL_Linux: remove prefix
from AP_HAL_Linux classes"), remove the "Empty" prefix from class names
since we are already inside the Empty namespace.
20 lines
370 B
C++
20 lines
370 B
C++
|
|
#ifndef __AP_HAL_EMPTY_PRIVATE_MEMBER_H__
|
|
#define __AP_HAL_EMPTY_PRIVATE_MEMBER_H__
|
|
|
|
/* Just a stub as an example of how to implement a private member of an
|
|
* AP_HAL module */
|
|
|
|
#include "AP_HAL_Empty.h"
|
|
|
|
class Empty::PrivateMember {
|
|
public:
|
|
PrivateMember(uint16_t foo);
|
|
void init();
|
|
private:
|
|
uint16_t _foo;
|
|
};
|
|
|
|
#endif // __AP_HAL_EMPTY_PRIVATE_MEMBER_H__
|
|
|