diff --git a/demos/01/ex.hpp b/demos/01/ex.hpp new file mode 100644 index 0000000..2523b52 --- /dev/null +++ b/demos/01/ex.hpp @@ -0,0 +1,23 @@ +#pragma once + +extern double alt_in_cm; + +namespace afrl { + namespace cmasi { + class Location3D { + public: + double getAltitude() { + return 0.0; + } + }; + } +} + +void set_alt_in_cm(int p) { + alt_in_cm = p; +} + +int get_value() { + int x; + return 42 + x; +}