Michael du Breuil
6 years ago
committed by
Andrew Tridgell
6 changed files with 1 additions and 32 deletions
@ -1,11 +0,0 @@ |
|||||||
|
|
||||||
#include "PrivateMember.h" |
|
||||||
|
|
||||||
using namespace Empty; |
|
||||||
|
|
||||||
PrivateMember::PrivateMember(uint16_t foo) : |
|
||||||
_foo(foo) |
|
||||||
{} |
|
||||||
|
|
||||||
void PrivateMember::init() {} |
|
||||||
|
|
@ -1,14 +0,0 @@ |
|||||||
#pragma once |
|
||||||
|
|
||||||
/* 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; |
|
||||||
}; |
|
Loading…
Reference in new issue