[Bf-blender-cvs] [fa18a282770] functions-experimental-refactor: move multi function context to separate file
Jacques Lucke
noreply at git.blender.org
Sun Nov 3 14:31:03 CET 2019
Commit: fa18a282770832997cb42390146752542629ccdc
Author: Jacques Lucke
Date: Sun Nov 3 13:55:49 2019 +0100
Branches: functions-experimental-refactor
https://developer.blender.org/rBfa18a282770832997cb42390146752542629ccdc
move multi function context to separate file
===================================================================
M source/blender/functions2/CMakeLists.txt
M source/blender/functions2/FN_multi_function.h
A source/blender/functions2/FN_multi_function_context.h
===================================================================
diff --git a/source/blender/functions2/CMakeLists.txt b/source/blender/functions2/CMakeLists.txt
index e26afdeb3dd..5454be0599d 100644
--- a/source/blender/functions2/CMakeLists.txt
+++ b/source/blender/functions2/CMakeLists.txt
@@ -46,6 +46,7 @@ set(SRC
FN_generic_virtual_list_list_ref.h
FN_generic_virtual_list_ref.h
FN_initialize.h
+ FN_multi_function_context.h
FN_multi_function_data_type.h
FN_multi_function_mask.h
FN_multi_function_network.h
diff --git a/source/blender/functions2/FN_multi_function.h b/source/blender/functions2/FN_multi_function.h
index a5548b82330..09075aa2418 100644
--- a/source/blender/functions2/FN_multi_function.h
+++ b/source/blender/functions2/FN_multi_function.h
@@ -8,6 +8,7 @@
#include "FN_multi_function_data_type.h"
#include "FN_multi_function_param_type.h"
#include "FN_multi_function_mask.h"
+#include "FN_multi_function_context.h"
#include "BLI_vector.h"
@@ -15,9 +16,6 @@ namespace FN {
using BLI::Vector;
-class MFContext {
-};
-
class MFSignature {
private:
std::string m_function_name;
diff --git a/source/blender/functions2/FN_multi_function_context.h b/source/blender/functions2/FN_multi_function_context.h
new file mode 100644
index 00000000000..bbb940228d5
--- /dev/null
+++ b/source/blender/functions2/FN_multi_function_context.h
@@ -0,0 +1,11 @@
+#ifndef __FN_MULTI_FUNCTION_CONTEXT_H__
+#define __FN_MULTI_FUNCTION_CONTEXT_H__
+
+namespace FN {
+
+class MFContext {
+};
+
+} // namespace FN
+
+#endif /* __FN_MULTI_FUNCTION_CONTEXT_H__ */
More information about the Bf-blender-cvs
mailing list