mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 11:05:33 +08:00
refs #345 Workaround a limitation of MinGW by moving the largest registerMetadata functions into their own cpp files.
This commit is contained in:
33
src/blackmisc/blackmiscfreefunctions_nwmeta.cpp
Normal file
33
src/blackmisc/blackmiscfreefunctions_nwmeta.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
/* Copyright (C) 2014
|
||||
* swift Project Community / Contributors
|
||||
*
|
||||
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of Swift Project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include "blackmiscfreefunctions.h"
|
||||
#include "networkallclasses.h"
|
||||
|
||||
/*
|
||||
* Metadata for Network
|
||||
*
|
||||
* In a separate file to workaround a limitation of MinGW:
|
||||
* http://stackoverflow.com/q/16596876/1639256
|
||||
*/
|
||||
void BlackMisc::Network::registerMetadata()
|
||||
{
|
||||
CUser::registerMetadata();
|
||||
CUserList::registerMetadata();
|
||||
CServer::registerMetadata();
|
||||
CServerList::registerMetadata();
|
||||
CTextMessage::registerMetadata();
|
||||
CTextMessageList::registerMetadata();
|
||||
CClient::registerMetadata();
|
||||
CClientList::registerMetadata();
|
||||
CAircraftModel::registerMetadata();
|
||||
CVoiceCapabilities::registerMetadata();
|
||||
CAircraftMapping::registerMetadata();
|
||||
CAircraftMappingList::registerMetadata();
|
||||
}
|
||||
Reference in New Issue
Block a user