"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/shared/SerialKeyType.h" between
synergy-core-1.14.4.37-stable.tar.gz and synergy-core-1.14.5.13-stable.tar.gz

About: Synergy is software for sharing one mouse and one keyboard between multiple computers on your desk allowing to seamlessly move the mouse cursor from one screen to another (works on Linux, Windows and Mac OS X). Synergy 1.

SerialKeyType.h  (synergy-core-1.14.4.37-stable):SerialKeyType.h  (synergy-core-1.14.5.13-stable)
skipping to change at line 28 skipping to change at line 28
#include <string> #include <string>
class SerialKeyType class SerialKeyType
{ {
private: private:
friend bool operator== (SerialKeyType const&, SerialKeyType const&); friend bool operator== (SerialKeyType const&, SerialKeyType const&);
public: public:
static const std::string TRIAL; static const std::string TRIAL;
static const std::string SUBSCRIPTION; static const std::string SUBSCRIPTION;
static const std::string MAINTENANCE;
SerialKeyType(); SerialKeyType();
void setKeyType(const std::string& Type); void setKeyType(const std::string& Type);
bool isTrial() const; bool isTrial() const;
bool isTemporary() const; bool isTemporary() const;
bool isPermanent() const; bool isMaintenance() const;
private: private:
bool m_isTrial = false; bool m_isTrial = false;
bool m_isTemporary = false; bool m_isTemporary = false;
bool m_isMaintenance = false;
}; };
inline bool inline bool
operator== (SerialKeyType const& lhs, SerialKeyType const& rhs) { operator== (SerialKeyType const& lhs, SerialKeyType const& rhs) {
return (lhs.m_isTrial == rhs.m_isTrial) && (lhs.m_isTemporary == rhs.m_is Temporary); return (lhs.m_isTrial == rhs.m_isTrial) && (lhs.m_isTemporary == rhs.m_is Temporary);
} }
inline bool inline bool
operator!= (SerialKeyType const& lhs, SerialKeyType const& rhs) { operator!= (SerialKeyType const& lhs, SerialKeyType const& rhs) {
return !(lhs == rhs); return !(lhs == rhs);
 End of changes. 3 change blocks. 
1 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)