Register ENUMs in ISimulator like it is done in IVoice

This commit is contained in:
Klaus Basan
2014-06-20 00:43:05 +02:00
parent c404d4cc5b
commit 2ecef24c91
4 changed files with 39 additions and 13 deletions

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