diff --git a/OSC/Source/OSC/OSC.Build.cs b/OSC/Source/OSC/OSC.Build.cs index e844ba0..d3af943 100644 --- a/OSC/Source/OSC/OSC.Build.cs +++ b/OSC/Source/OSC/OSC.Build.cs @@ -29,6 +29,15 @@ namespace UnrealBuildTool.Rules } ); + PublicIncludePaths.AddRange( + new string[] { + "OSC/Public", + "OSC/Public/Common", + "OSC/Public/Receive", + "OSC/Public/Send", + } + ); + PrivateIncludePaths.AddRange( new string[] { "OSC/Private", diff --git a/OSC/Source/OSC/Private/Common/OscDataElemStruct.h b/OSC/Source/OSC/Public/Common/OscDataElemStruct.h similarity index 99% rename from OSC/Source/OSC/Private/Common/OscDataElemStruct.h rename to OSC/Source/OSC/Public/Common/OscDataElemStruct.h index fe66b6f..7fe7cdc 100644 --- a/OSC/Source/OSC/Private/Common/OscDataElemStruct.h +++ b/OSC/Source/OSC/Public/Common/OscDataElemStruct.h @@ -4,7 +4,7 @@ USTRUCT(BlueprintType) -struct FOscDataElemStruct +struct OSC_API FOscDataElemStruct { GENERATED_USTRUCT_BODY() diff --git a/OSC/Source/OSC/Private/Common/OscFunctionLibrary.cpp b/OSC/Source/OSC/Public/Common/OscFunctionLibrary.cpp similarity index 100% rename from OSC/Source/OSC/Private/Common/OscFunctionLibrary.cpp rename to OSC/Source/OSC/Public/Common/OscFunctionLibrary.cpp diff --git a/OSC/Source/OSC/Private/Common/OscFunctionLibrary.h b/OSC/Source/OSC/Public/Common/OscFunctionLibrary.h similarity index 98% rename from OSC/Source/OSC/Private/Common/OscFunctionLibrary.h rename to OSC/Source/OSC/Public/Common/OscFunctionLibrary.h index 8fbe6da..48bf900 100644 --- a/OSC/Source/OSC/Private/Common/OscFunctionLibrary.h +++ b/OSC/Source/OSC/Public/Common/OscFunctionLibrary.h @@ -6,7 +6,7 @@ UCLASS() -class UOscFunctionLibrary : public UBlueprintFunctionLibrary +class OSC_API UOscFunctionLibrary : public UBlueprintFunctionLibrary { GENERATED_BODY() diff --git a/OSC/Source/OSC/Private/Common/OscMessageStruct.h b/OSC/Source/OSC/Public/Common/OscMessageStruct.h similarity index 90% rename from OSC/Source/OSC/Private/Common/OscMessageStruct.h rename to OSC/Source/OSC/Public/Common/OscMessageStruct.h index b4e6dd7..d40a1d5 100644 --- a/OSC/Source/OSC/Private/Common/OscMessageStruct.h +++ b/OSC/Source/OSC/Public/Common/OscMessageStruct.h @@ -5,7 +5,7 @@ USTRUCT(BlueprintType) -struct FOscMessageStruct +struct OSC_API FOscMessageStruct { GENERATED_USTRUCT_BODY() diff --git a/OSC/Source/OSC/Private/Osc.h b/OSC/Source/OSC/Public/Osc.h similarity index 100% rename from OSC/Source/OSC/Private/Osc.h rename to OSC/Source/OSC/Public/Osc.h diff --git a/OSC/Source/OSC/Private/Receive/OscReceiverActor.cpp b/OSC/Source/OSC/Public/Receive/OscReceiverActor.cpp similarity index 100% rename from OSC/Source/OSC/Private/Receive/OscReceiverActor.cpp rename to OSC/Source/OSC/Public/Receive/OscReceiverActor.cpp diff --git a/OSC/Source/OSC/Private/Receive/OscReceiverActor.h b/OSC/Source/OSC/Public/Receive/OscReceiverActor.h similarity index 95% rename from OSC/Source/OSC/Private/Receive/OscReceiverActor.h rename to OSC/Source/OSC/Public/Receive/OscReceiverActor.h index 4f5e939..d2caf5f 100644 --- a/OSC/Source/OSC/Private/Receive/OscReceiverActor.h +++ b/OSC/Source/OSC/Public/Receive/OscReceiverActor.h @@ -7,7 +7,7 @@ UCLASS(ClassGroup=OSC) -class AOscReceiverActor : public AActor +class OSC_API AOscReceiverActor : public AActor { GENERATED_BODY() diff --git a/OSC/Source/OSC/Private/Receive/OscReceiverComponent.cpp b/OSC/Source/OSC/Public/Receive/OscReceiverComponent.cpp similarity index 100% rename from OSC/Source/OSC/Private/Receive/OscReceiverComponent.cpp rename to OSC/Source/OSC/Public/Receive/OscReceiverComponent.cpp diff --git a/OSC/Source/OSC/Private/Receive/OscReceiverComponent.h b/OSC/Source/OSC/Public/Receive/OscReceiverComponent.h similarity index 95% rename from OSC/Source/OSC/Private/Receive/OscReceiverComponent.h rename to OSC/Source/OSC/Public/Receive/OscReceiverComponent.h index bbe579c..86c89e3 100644 --- a/OSC/Source/OSC/Private/Receive/OscReceiverComponent.h +++ b/OSC/Source/OSC/Public/Receive/OscReceiverComponent.h @@ -11,7 +11,7 @@ DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FComponentOscReceivedSignature, c UCLASS(ClassGroup=OSC, meta = (BlueprintSpawnableComponent)) -class UOscReceiverComponent : public UActorComponent +class OSC_API UOscReceiverComponent : public UActorComponent { GENERATED_BODY() diff --git a/OSC/Source/OSC/Private/Receive/OscReceiverInterface.h b/OSC/Source/OSC/Public/Receive/OscReceiverInterface.h similarity index 88% rename from OSC/Source/OSC/Private/Receive/OscReceiverInterface.h rename to OSC/Source/OSC/Public/Receive/OscReceiverInterface.h index 0a21ab1..a2f318b 100644 --- a/OSC/Source/OSC/Private/Receive/OscReceiverInterface.h +++ b/OSC/Source/OSC/Public/Receive/OscReceiverInterface.h @@ -4,7 +4,7 @@ /// Base class to receive OSC messages. -struct IOscReceiverInterface +struct OSC_API IOscReceiverInterface { virtual ~IOscReceiverInterface() {} virtual const FString & GetAddressFilter() const = 0; @@ -14,7 +14,7 @@ struct IOscReceiverInterface /// Forward calls to an impl object. template -struct BasicOscReceiver : IOscReceiverInterface +struct OSC_API BasicOscReceiver : IOscReceiverInterface { T * const _impl;