00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PSTATCLIENTVERSION_H
00016 #define PSTATCLIENTVERSION_H
00017
00018 #include "pandabase.h"
00019
00020 #include "referenceCount.h"
00021 #include "pointerTo.h"
00022
00023
00024
00025
00026
00027
00028
00029 class EXPCL_PANDA_PSTATCLIENT PStatClientVersion : public ReferenceCount {
00030 public:
00031 PStatClientVersion();
00032
00033 INLINE int get_major_version() const;
00034 INLINE int get_minor_version() const;
00035
00036 INLINE void set_version(int major_version, int minor_version);
00037
00038 INLINE bool is_at_least(int major_version, int minor_version) const;
00039
00040 private:
00041 int _major_version;
00042 int _minor_version;
00043 };
00044
00045 #include "pStatClientVersion.I"
00046
00047 #endif
00048