mirror of
https://github.com/QuasarApp/Snake.git
synced 2025-04-29 03:04:42 +00:00
15 lines
292 B
C++
15 lines
292 B
C++
|
#include "connectioninfo.h"
|
||
|
|
||
|
QString ConnectionInfo::getAddres() const
|
||
|
{
|
||
|
return addres;
|
||
|
}
|
||
|
|
||
|
ConnectionInfo::ConnectionInfo(const QString &addrrss) {
|
||
|
addres = addrrss;
|
||
|
}
|
||
|
|
||
|
bool ConnectionInfo::operator ==(const ConnectionInfo &otherInfo) const {
|
||
|
return addres == otherInfo.addres;
|
||
|
}
|