mirror of
https://github.com/overte-org/overte.git
synced 2025-05-05 19:38:11 +02:00
20 lines
No EOL
549 B
C++
20 lines
No EOL
549 B
C++
//
|
|
// HFMetaEvent.cpp
|
|
// script-engine/src
|
|
//
|
|
// Created by Stephen Birarda on 2014-10-27.
|
|
// Copyright 2014 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
#include "HFMetaEvent.h"
|
|
|
|
QSet<QEvent::Type> HFMetaEvent::_types = QSet<QEvent::Type>();
|
|
|
|
QEvent::Type HFMetaEvent::newEventType() {
|
|
QEvent::Type newType = static_cast<QEvent::Type>(QEvent::registerEventType());
|
|
_types.insert(newType);
|
|
return newType;
|
|
} |