All Classes Functions Variables Typedefs Friends Pages
IPoiManager.h
1 //------------------------------------------------------------------------------
2 //
3 // Copyright (c) 2017 Glympse Inc. All rights reserved.
4 //
5 //------------------------------------------------------------------------------
6 
7 #ifndef IPOIMANAGER_H__GLYMPSE__
8 #define IPOIMANAGER_H__GLYMPSE__
9 
10 namespace Glympse
11 {
12 
13 /*O*public**/ struct IPoiManager : public IEventSink
14 {
20  public: virtual bool isSynced() = 0;
21 
27  public: virtual GArray<GPoi>::ptr getPois() = 0;
28 
34  public: virtual void addPoi(const GPoi& poi) = 0;
35 
43  public: virtual void updatePoi(const GPoi& targetPoi, const GPoi& sourcePoi) = 0;
44 
50  public: virtual void removePoi(const GPoi& poi) = 0;
51 
58  public: virtual GPoi findPoiById(const GString& poiId) = 0;
59 };
60 
61 /*C*/typedef O< IPoiManager > GPoiManager;
62 
63 }
64 
65 #endif // !IPOIMANAGER_H__GLYMPSE__