2014-12-07 19:09:38 -05:00
|
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// FEditorObjectTracker
|
|
|
|
|
|
|
|
|
|
class FEditorObjectTracker : public FGCObject
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// FGCObject interface
|
2014-06-13 06:14:46 -04:00
|
|
|
void AddReferencedObjects( FReferenceCollector& Collector ) override;
|
2014-03-14 14:13:41 -04:00
|
|
|
// End of FGCObject interface
|
|
|
|
|
|
|
|
|
|
/** Returns an existing editor object for the specified class or creates one
|
|
|
|
|
if none exist */
|
|
|
|
|
UObject* GetEditorObjectForClass( UClass* EdClass );
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
/** Tracks editor objects created for details panel */
|
|
|
|
|
TMap< UClass*, UObject* > EditorObjMap;
|
|
|
|
|
};
|