mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Ref T85, minor improvements on server type
* UI: generic generation of combobox * UI: Read only for combobox * CServer utility functions
This commit is contained in:
@@ -12,9 +12,9 @@
|
||||
#ifndef BLACKMISC_NETWORK_SERVERLIST_H
|
||||
#define BLACKMISC_NETWORK_SERVERLIST_H
|
||||
|
||||
#include "server.h"
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
#include "blackmisc/collection.h"
|
||||
#include "blackmisc/network/server.h"
|
||||
#include "blackmisc/sequence.h"
|
||||
#include "blackmisc/variant.h"
|
||||
|
||||
@@ -25,8 +25,6 @@ namespace BlackMisc
|
||||
{
|
||||
namespace Network
|
||||
{
|
||||
class CServer;
|
||||
|
||||
//! Value object encapsulating a list of servers.
|
||||
class BLACKMISC_EXPORT CServerList :
|
||||
public CSequence<CServer>,
|
||||
@@ -56,6 +54,9 @@ namespace BlackMisc
|
||||
//! Add if address not already exists
|
||||
void addIfAddressNotExists(const CServerList &servers);
|
||||
|
||||
//! Find all FSD servers
|
||||
CServerList findFsdServers() const;
|
||||
|
||||
//! Set FSD setup for all entries
|
||||
void setFsdSetup(const CFsdSetup &setup);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user