Overte C++ Documentation
InterfaceParentFinder.h
1 //
2 // InterfaceParentFinder.h
3 // interface/src/
4 //
5 // Created by Seth Alves on 2015-10-21
6 // Copyright 2015 High Fidelity, Inc.
7 //
8 // Distributed under the Apache License, Version 2.0.
9 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10 //
11 
12 #ifndef hifi_InterfaceParentFinder_h
13 #define hifi_InterfaceParentFinder_h
14 
15 #include <memory>
16 #include <QUuid>
17 
18 #include <SpatialParentFinder.h>
19 
20 class InterfaceParentFinder : public SpatialParentFinder {
21 public:
22  InterfaceParentFinder() { }
23  virtual ~InterfaceParentFinder() { }
24  virtual SpatiallyNestableWeakPointer find(QUuid parentID, bool& success,
25  SpatialParentTree* entityTree = nullptr) const override;
26 };
27 
28 #endif // hifi_InterfaceParentFinder_h