feat: migrate old code to project
This commit is contained in:
@@ -4,7 +4,7 @@ add_library(VSWShared STATIC "")
|
||||
target_sources(VSWShared
|
||||
PRIVATE
|
||||
# Sources
|
||||
DataTypes.cpp
|
||||
"EnumTypes.cpp"
|
||||
)
|
||||
# Setup header files
|
||||
target_sources(VSWShared
|
||||
@@ -12,7 +12,7 @@ PUBLIC
|
||||
FILE_SET HEADERS
|
||||
FILES
|
||||
# Headers
|
||||
DataTypes.hpp
|
||||
"EnumTypes.hpp"
|
||||
)
|
||||
# Setup include directory
|
||||
target_include_directories(VSWShared
|
||||
|
||||
22
shared/EnumTypes.hpp
Normal file
22
shared/EnumTypes.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
#include <cinttypes>
|
||||
|
||||
namespace VSW {
|
||||
|
||||
enum class BehaviorLinkIOType : uint32_t {
|
||||
Input,
|
||||
Output
|
||||
};
|
||||
|
||||
enum class ParameterLinkIOType : uint32_t {
|
||||
ParameterIn,
|
||||
ParameterOut,
|
||||
/// @brief When using this, ignore [index] and [input_is_bb], set [input_index] to -1
|
||||
ParameterLocal,
|
||||
/// @brief When using this, ignore [index] and [input_is_bb], set [input_index] to -1
|
||||
ParameterTarget,
|
||||
/// @brief When using this, ignore [index], and [input_is_bb] will become [input_is_dataarray]
|
||||
pParameterAttribute
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user