mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 03:02:22 +01:00
19 lines
507 B
C++
19 lines
507 B
C++
#pragma once
|
|
|
|
#include "DelegateBase.h"
|
|
#include "DelegateSignatureImpl.inl"
|
|
|
|
#define FUNC_CONCAT( ... ) __VA_ARGS__
|
|
|
|
#define FUNC_DECLARE_DELEGATE( DelegateName, ReturnType, ... ) \
|
|
typedef TBaseDelegate/*<__VA_ARGS__>*/ DelegateName;
|
|
|
|
#define FUNC_DECLARE_DYNAMIC_DELEGATE( TWeakPtr, DynamicDelegateName, ExecFunction, FuncParamList, FuncParamPassThru, ... ) \
|
|
class DynamicDelegateName : public TBaseDynamicDelegate<TWeakPtr, __VA_ARGS__> \
|
|
{ \
|
|
public: \
|
|
DynamicDelegateName() \
|
|
{ \
|
|
} \
|
|
\
|
|
}; |