refs #345 Workaround a limitation of MinGW by moving the largest registerMetadata functions into their own cpp files.

This commit is contained in:
Mathew Sutcliffe
2014-11-08 18:11:44 +00:00
parent f219d290f1
commit 4c60515482
4 changed files with 116 additions and 74 deletions

View 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();
}