text: // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
  
  #pragma once
  
  #include "CoreMinimal.h"
  #include "Modules/ModuleInterface.h"
  #include "Modules/ModuleManager.h"
  
  /**
   * Interface for the UndoHistory module.
   */
  class IUndoHistoryModule
  	: public IModuleInterface
  {
  public:
  
  	/**
  	 * Gets a reference to the UndoHistory module instance.
  	 *
  	 * @todo gmp: better implementation using dependency injection.
  	 * @return A reference to the module.
  	 */
  	static IUndoHistoryModule& Get( )
  	{
  		return FModuleManager::LoadModuleChecked<IUndoHistoryModule>("UndoHistory");
  	}
  
  public:
  
  	/**
  	 * Virtual destructor.
  	 */
  	virtual ~IUndoHistoryModule( ) { }
  };
  