"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/lib/shared/SerialKeyEdition.cpp" 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.

SerialKeyEdition.cpp  (synergy-core-1.14.4.37-stable):SerialKeyEdition.cpp  (synergy-core-1.14.5.13-stable)
skipping to change at line 139 skipping to change at line 139
const auto& pType = types.find(type); const auto& pType = types.find(type);
if (pType != types.end()) { if (pType != types.end()) {
m_Type = pType->second; m_Type = pType->second;
} }
else { else {
m_Type = kUnregistered; m_Type = kUnregistered;
} }
} }
bool SerialKeyEdition::isValid() const bool
SerialKeyEdition::isValid() const
{ {
auto types = getSerialTypes(); auto types = getSerialTypes();
return (types.find(getName()) != types.end()); return (types.find(getName()) != types.end());
} }
bool
SerialKeyEdition::isChina() const {
return ((m_Type == kBasic_China) || (m_Type == kPro_China));
}
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

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