mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
34 lines
1.2 KiB
C++
34 lines
1.2 KiB
C++
//
|
|
// EntityDynamicFactoryInterface.cpp
|
|
// libraries/entities/src
|
|
//
|
|
// Created by Seth Alves on 2015-6-2
|
|
// Copyright 2015 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
|
|
//
|
|
|
|
#ifndef hifi_EntityDynamicFactoryInterface_h
|
|
#define hifi_EntityDynamicFactoryInterface_h
|
|
|
|
#include <DependencyManager.h>
|
|
|
|
#include "EntityDynamicInterface.h"
|
|
|
|
class EntityDynamicFactoryInterface : public QObject, public Dependency {
|
|
Q_OBJECT
|
|
SINGLETON_DEPENDENCY
|
|
|
|
public:
|
|
EntityDynamicFactoryInterface() { }
|
|
virtual ~EntityDynamicFactoryInterface() { }
|
|
virtual EntityDynamicPointer factory(EntityDynamicType type,
|
|
const QUuid& id,
|
|
EntityItemPointer ownerEntity,
|
|
QVariantMap arguments) { assert(false); return nullptr; }
|
|
virtual EntityDynamicPointer factoryBA(EntityItemPointer ownerEntity,
|
|
QByteArray data) { assert(false); return nullptr; }
|
|
};
|
|
|
|
#endif // hifi_EntityDynamicFactoryInterface_h
|