All Classes Functions Variables Typedefs Friends Pages
ILocationProvider.h
1 //------------------------------------------------------------------------------
2 //
3 // Copyright (c) 2012 Glympse Inc. All rights reserved.
4 //
5 //------------------------------------------------------------------------------
6 
7 #ifndef ILOCATIONPROVIDER_H__GLYMPSE__
8 #define ILOCATIONPROVIDER_H__GLYMPSE__
9 
10 namespace Glympse
11 {
12 
35 /*O*public**/ struct ILocationProvider : public ICommon
36 {
40  public: virtual void setLocationListener(const GLocationListener& locationListener) = 0;
41 
45  public: virtual void start() = 0;
46 
50  public: virtual void stop() = 0;
51 
55  public: virtual bool isStarted() = 0;
56 
61  public: virtual GLocation getLastKnownLocation() = 0;
62 
77  public: virtual void applyProfile(const GLocationProfile& profile) = 0;
78 };
79 
81 
82 }
83 
84 #endif // !ILOCATIONPROVIDER_H__GLYMPSE__