mirror of
https://github.com/storytold/UE4-OSC.git
synced 2026-10-22 07:55:30 +00:00
make most classes public (can be referenced in game code)
This commit is contained in:
@@ -29,6 +29,15 @@ namespace UnrealBuildTool.Rules
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
PublicIncludePaths.AddRange(
|
||||||
|
new string[] {
|
||||||
|
"OSC/Public",
|
||||||
|
"OSC/Public/Common",
|
||||||
|
"OSC/Public/Receive",
|
||||||
|
"OSC/Public/Send",
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
PrivateIncludePaths.AddRange(
|
PrivateIncludePaths.AddRange(
|
||||||
new string[] {
|
new string[] {
|
||||||
"OSC/Private",
|
"OSC/Private",
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
USTRUCT(BlueprintType)
|
USTRUCT(BlueprintType)
|
||||||
struct FOscDataElemStruct
|
struct OSC_API FOscDataElemStruct
|
||||||
{
|
{
|
||||||
GENERATED_USTRUCT_BODY()
|
GENERATED_USTRUCT_BODY()
|
||||||
|
|
||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
|
|
||||||
UCLASS()
|
UCLASS()
|
||||||
class UOscFunctionLibrary : public UBlueprintFunctionLibrary
|
class OSC_API UOscFunctionLibrary : public UBlueprintFunctionLibrary
|
||||||
{
|
{
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
|
|
||||||
USTRUCT(BlueprintType)
|
USTRUCT(BlueprintType)
|
||||||
struct FOscMessageStruct
|
struct OSC_API FOscMessageStruct
|
||||||
{
|
{
|
||||||
GENERATED_USTRUCT_BODY()
|
GENERATED_USTRUCT_BODY()
|
||||||
|
|
||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
|
|
||||||
UCLASS(ClassGroup=OSC)
|
UCLASS(ClassGroup=OSC)
|
||||||
class AOscReceiverActor : public AActor
|
class OSC_API AOscReceiverActor : public AActor
|
||||||
{
|
{
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
+1
-1
@@ -11,7 +11,7 @@ DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FComponentOscReceivedSignature, c
|
|||||||
|
|
||||||
|
|
||||||
UCLASS(ClassGroup=OSC, meta = (BlueprintSpawnableComponent))
|
UCLASS(ClassGroup=OSC, meta = (BlueprintSpawnableComponent))
|
||||||
class UOscReceiverComponent : public UActorComponent
|
class OSC_API UOscReceiverComponent : public UActorComponent
|
||||||
{
|
{
|
||||||
GENERATED_BODY()
|
GENERATED_BODY()
|
||||||
|
|
||||||
+2
-2
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/// Base class to receive OSC messages.
|
/// Base class to receive OSC messages.
|
||||||
struct IOscReceiverInterface
|
struct OSC_API IOscReceiverInterface
|
||||||
{
|
{
|
||||||
virtual ~IOscReceiverInterface() {}
|
virtual ~IOscReceiverInterface() {}
|
||||||
virtual const FString & GetAddressFilter() const = 0;
|
virtual const FString & GetAddressFilter() const = 0;
|
||||||
@@ -14,7 +14,7 @@ struct IOscReceiverInterface
|
|||||||
|
|
||||||
/// Forward calls to an impl object.
|
/// Forward calls to an impl object.
|
||||||
template <class T>
|
template <class T>
|
||||||
struct BasicOscReceiver : IOscReceiverInterface
|
struct OSC_API BasicOscReceiver : IOscReceiverInterface
|
||||||
{
|
{
|
||||||
T * const _impl;
|
T * const _impl;
|
||||||
|
|
||||||
Reference in New Issue
Block a user