All Classes Functions Variables Typedefs Friends Pages
ITrack.h
1 //------------------------------------------------------------------------------
2 //
3 // Copyright (c) 2012 Glympse Inc. All rights reserved.
4 //
5 //------------------------------------------------------------------------------
6 
7 #ifndef ITRACK_H__GLYMPSE__
8 #define ITRACK_H__GLYMPSE__
9 
10 namespace Glympse
11 {
12 
25 /*O*public**/ struct ITrack : public virtual ICommon
26 {
30  public: virtual int32 length() = 0;
31 
37  public: virtual GList<GLocation>::ptr getLocations() = 0;
38 
44  public: virtual GList<GLocation>::ptr getNewLocations() = 0;
45 
51  public: virtual int32 getDistance() = 0;
52 };
53 
54 /*C*/typedef O< ITrack > GTrack;
55 
56 }
57 
58 #endif // !ITRACK_H__GLYMPSE__