diff --git a/src/blacksim/blacksimfreefunctions.cpp b/src/blacksim/blacksimfreefunctions.cpp new file mode 100644 index 000000000..d82f23f97 --- /dev/null +++ b/src/blacksim/blacksimfreefunctions.cpp @@ -0,0 +1,16 @@ +#include "blacksimfreefunctions.h" +#include "fscommon/aircraftcfgentrieslist.h" +#include "fscommon/aircraftmappinglist.h" + +namespace BlackSim +{ + + void registerMetadata() + { + BlackSim::FsCommon::CAircraftCfgEntries::registerMetadata(); + BlackSim::FsCommon::CAircraftMapping::registerMetadata(); + BlackSim::FsCommon::CAircraftCfgEntriesList::registerMetadata(); + BlackSim::FsCommon::CAircraftMappingList::registerMetadata(); + } + +} // namespace diff --git a/src/blacksim/blacksimfreefunctions.h b/src/blacksim/blacksimfreefunctions.h new file mode 100644 index 000000000..88f6c69b7 --- /dev/null +++ b/src/blacksim/blacksimfreefunctions.h @@ -0,0 +1,21 @@ +/* Copyright (C) 2013 VATSIM Community / contributors + * 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/. */ + +#ifndef BLACKSIM_FREEFUNCTIONS_H +#define BLACKSIM_FREEFUNCTIONS_H + +/*! + * Free functions in BlackSim + */ +namespace BlackSim +{ + /*! + * \brief Register all relevant metadata in BlackMisc + */ + void registerMetadata(); + +} // BlackSim + +#endif // guard