mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:07:21 +08:00
40 lines
1.2 KiB
C++
40 lines
1.2 KiB
C++
/* 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 "hwkeyboardkeylist.h"
|
|
#include "predicates.h"
|
|
|
|
namespace BlackMisc
|
|
{
|
|
namespace Hardware
|
|
{
|
|
/*
|
|
* Constructor
|
|
*/
|
|
CKeyboardKeyList::CKeyboardKeyList() { }
|
|
|
|
/*
|
|
* Construct from base class object
|
|
*/
|
|
CKeyboardKeyList::CKeyboardKeyList(const CSequence<CKeyboardKey> &baseClass) :
|
|
CSequence<CKeyboardKey>(baseClass)
|
|
{ }
|
|
|
|
/*
|
|
* Register metadata
|
|
*/
|
|
void CKeyboardKeyList::registerMetadata()
|
|
{
|
|
qRegisterMetaType<BlackMisc::CSequence<CKeyboardKey>>();
|
|
qDBusRegisterMetaType<BlackMisc::CSequence<CKeyboardKey>>();
|
|
qRegisterMetaType<BlackMisc::CCollection<CKeyboardKey>>();
|
|
qDBusRegisterMetaType<BlackMisc::CCollection<CKeyboardKey>>();
|
|
qRegisterMetaType<CKeyboardKeyList>();
|
|
qDBusRegisterMetaType<CKeyboardKeyList>();
|
|
}
|
|
|
|
} // namespace
|
|
} // namespace
|