mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
Fixed adding the hardcoded test servers in a dev. environment
(issue found during debugging of #533) Added some functions to find similar servers by address/port
This commit is contained in:
@@ -37,8 +37,16 @@ namespace BlackMisc
|
||||
|
||||
//! Contains name
|
||||
bool containsName(const QString &name) const;
|
||||
};
|
||||
|
||||
//! Contains server with same address/port
|
||||
bool containsAddressPort(const CServer &server);
|
||||
|
||||
//! Add if address not already exists
|
||||
void addIfAddressNotExists(const CServer &server);
|
||||
|
||||
//! Add if address not already exists
|
||||
void addIfAddressNotExists(const CServerList &servers);
|
||||
};
|
||||
} //namespace
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user