All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ILocationService.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Space.h"
6 #include "VectorMath.h"
7 #include "InteriorId.h"
8 
9 namespace Eegeo
10 {
11  namespace Location
12  {
14  {
15  public:
16  virtual ~ILocationService() { }
17 
18  virtual const bool GetIsAuthorized() const = 0;
19 
20  virtual bool IsIndoors()=0;
21  virtual Resources::Interiors::InteriorId GetInteriorId()=0;
22  virtual bool GetLocation(Eegeo::Space::LatLong& latlong)=0;
23  virtual bool GetAltitude(double& altitude)=0;
24  virtual bool GetFloorIndex(int& floorIndex)=0;
25  virtual bool GetHorizontalAccuracy(double& accuracy)=0;
26  virtual bool GetHeadingDegrees(double& headingDegrees) = 0;
27  virtual void StopListening() = 0;
28 
29  };
30  }
31 }