Login Register Free Account
Trackerbird SDK v3 for Mac OS (C++)
TBVersionResult.h
1 // ======================================
2 // *** TRACKERBIRD SOFTWARE ANALYTICS ***
3 // ******** www.trackerbird.com ********
4 // ======================================
5 // © 2013 Trackerbird. All rights reserved.
6 //
7 // SDK Version: MacOS SDK ver 3.4.1 (C++)
8 // Release date: 11 Sep 2014
9 //
10 // You may get the latest version from: http://docs.trackerbird.com
11 // For customer support please visit: http://helpdesk.trackerbird.com
12 // ======================================
13 //
14 
15 #ifndef __TrackerbirdSDK__TBVersionResult__
16 #define __TrackerbirdSDK__TBVersionResult__
17 
18 #include <iostream>
19 
20 using namespace std;
21 
22 namespace TrackerbirdSDK
23 {
24  typedef enum
25  {
26  TBVersionStatusNA = -1,
27  TBVersionStatusNew = 1,
28  TBVersionStatusNoNew = 0
29  }
30  TBVersionStatus;
31 
53  {
54  private:
55 
56  TBVersionStatus _versionStatus;
57  string _internalVersion;
58  string _version;
59  string _downloadURL;
60  string _changelogURL;
61 
62  public:
63 
75  TBVersionResult(TBVersionStatus versionStatus, string internalVersion, string version, string downloadURL, string changelogURL);
76 
78  TBVersionStatus getVersionStatus() const;
79 
81  string getInternalVersion() const;
82 
84  string getVersion() const;
85 
87  string getDownloadURL() const;
88 
90  string getChangelogURL() const;
91 
92  };
93 }
94 
95 
96 
97 #endif /* defined(__TrackerbirdSDK__TBVersionResult__) */
Definition: TBVersionResult.h:52
Definition: TBApp.h:26