mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
refs #227, client (representing other pilot client) class
* client class plus list * aircraft model class, representing the used model
This commit is contained in:
34
src/blackmisc/nwclientlist.cpp
Normal file
34
src/blackmisc/nwclientlist.cpp
Normal file
@@ -0,0 +1,34 @@
|
||||
/* Copyright (C) 2013 VATSIM Community / authors
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "nwclientlist.h"
|
||||
#include "predicates.h"
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Network
|
||||
{
|
||||
/*
|
||||
* Default constructor
|
||||
*/
|
||||
CClientList::CClientList() { }
|
||||
|
||||
/*
|
||||
* Construct from base class object
|
||||
*/
|
||||
CClientList::CClientList(const CSequence &other) : CSequence<CClient>(other)
|
||||
{ }
|
||||
|
||||
/*
|
||||
* Register metadata
|
||||
*/
|
||||
void CClientList::registerMetadata()
|
||||
{
|
||||
qRegisterMetaType<CClientList>();
|
||||
qDBusRegisterMetaType<CClientList>();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user