27 lines
488 B
C
27 lines
488 B
C
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreMinimal.h"
|
||
|
|
#include "UObject/ObjectMacros.h"
|
||
|
|
#include "UObject/Object.h"
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Base class for all interfaces
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
|
||
|
|
class COREUOBJECT_API UInterface: public UObject
|
||
|
|
{
|
||
|
|
DECLARE_CLASS_INTRINSIC(UInterface, UObject, CLASS_Interface | CLASS_Abstract, TEXT("/Script/CoreUObject"))
|
||
|
|
};
|
||
|
|
|
||
|
|
class COREUOBJECT_API IInterface
|
||
|
|
{
|
||
|
|
protected:
|
||
|
|
virtual ~IInterface() {}
|
||
|
|
|
||
|
|
public:
|
||
|
|
typedef UInterface UClassType;
|
||
|
|
};
|