All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
IMapsceneService.h
1 // Copyright eeGeo Ltd (2012-2017), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "Mapscenes.h"
7 #include <string>
8 
9 namespace Eegeo
10 {
11  namespace Mapscenes
12  {
14  {
15  public:
16 
17  virtual ~IMapsceneService() {};
18 
19  virtual MapsceneRequestId LoadMapscene(
20  const std::string& urlOrShortlink,
21  bool applyMapsceneOnSuccess) = 0;
22 
23  virtual void CancelRequest(MapsceneRequestId requestId) = 0;
24 
25  virtual void RegisterRequestCompletedCallback(MapsceneRequestCompletedCallback& callback) = 0;
26  virtual void UnregisterRequestCompletedCallback(MapsceneRequestCompletedCallback& callback) = 0;
27  };
28  }
29 }