mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Register ENUMs in ISimulator like it is done in IVoice
This commit is contained in:
19
src/blackcore/simulator.cpp
Normal file
19
src/blackcore/simulator.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
/* 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 "simulator.h"
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
ISimulator::ISimulator(QObject *parent) : QObject(parent)
|
||||
{ }
|
||||
|
||||
void ISimulator::registerMetadata()
|
||||
{
|
||||
// for some reasons (ask RW) this is registered twice, see IVoice
|
||||
qRegisterMetaType<Status>();
|
||||
qRegisterMetaType<Status>("Status");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user