diff --git a/Observer.h b/Observer.h index e0a9786..26a7936 100644 --- a/Observer.h +++ b/Observer.h @@ -7,6 +7,20 @@ class Observer { public: Observer(void); virtual ~Observer(void); + + void SetLocation(const CoordGeodetic& geo) { + geo_ = geo; + } + + CoordGeodetic GetLocation() const { + return geo_; + } + +private: + /* + * the observers position + */ + CoordGeodetic geo_; }; #endif diff --git a/Rewrite.vcxproj b/Rewrite.vcxproj index 4e51701..2659507 100644 --- a/Rewrite.vcxproj +++ b/Rewrite.vcxproj @@ -75,6 +75,7 @@ + @@ -85,6 +86,7 @@ + diff --git a/Rewrite.vcxproj.filters b/Rewrite.vcxproj.filters index ad1c8fb..6a3137c 100644 --- a/Rewrite.vcxproj.filters +++ b/Rewrite.vcxproj.filters @@ -39,6 +39,9 @@ Source Files + + Source Files + @@ -65,5 +68,8 @@ Header Files + + Header Files + \ No newline at end of file