Telescope Control Library

Dependents:   PushToGo-F429

Revision:
10:e356188d208e
Parent:
9:d0413a9b1386
--- a/LocationProvider.h	Mon Sep 10 02:41:05 2018 -0400
+++ b/LocationProvider.h	Fri Sep 14 01:30:55 2018 -0400
@@ -1,6 +1,8 @@
 #ifndef LOCATION_PROVIDER_H
 #define LOCATION_PROVIDER_H
 
+class LocationProvider;
+
 #include "CelestialMath.h"
 /**
  * Provides location information. Can be overriden if a GPS is installed for example.
@@ -12,17 +14,15 @@
 	virtual ~LocationProvider() {
 	}
 
-	virtual double getLongtitude() const {
-		return TelescopeConfiguration::getDouble("longtitude");
-	}
+	virtual double getLongtitude() const;
 
-	virtual double getLatitude() const {
-		return TelescopeConfiguration::getDouble("latitude");
-	}
+	virtual double getLatitude() const;
 
 	LocationCoordinates getLocation() const {
 		return LocationCoordinates(getLatitude(), getLongtitude());
 	}
 };
 
+
+
 #endif