Files
Reboot-Launcher/dependencies/reboot/Project Reboot 3.0/Delegate.h
Alessandro Autiero b41e22adeb <feat: New project structure>
<feat: New release>
2023-09-02 15:34:15 +02:00

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() \
{ \
} \
\
};