rename view_model -> view_mode_model; add shell-expands-FX test and parse-site comments

This commit is contained in:
2026-07-22 20:37:17 -04:00
parent 33ffb45a45
commit 25cfb62d46
4 changed files with 93 additions and 49 deletions
+7 -7
View File
@@ -37,13 +37,13 @@ add_library(capture_paths STATIC src/capture_paths.cpp)
target_include_directories(capture_paths PUBLIC src)
# ---------------------------------------------------------------------------
# 2c) Pure view_model library — NO REAPER, NO SWELL. The Design View heart
# 2c) Pure view_mode_model library — NO REAPER, NO SWELL. The Design View heart
# (Phase D1): mode registry + GUID-keyed membership index + folder-tree-aware
# visibility derivation + parking/restore planner + JSON round-trip. Mirror of
# bank_model; the folder tree is an INPUT supplied by the D2 shell.
# ---------------------------------------------------------------------------
add_library(view_model STATIC src/view_model.cpp)
target_include_directories(view_model PUBLIC src)
add_library(view_mode_model STATIC src/view_mode_model.cpp)
target_include_directories(view_mode_model PUBLIC src)
# ---------------------------------------------------------------------------
# 3) Standalone tests for the pure modules (run without launching REAPER).
@@ -61,9 +61,9 @@ add_executable(capture_paths_tests tests/test_capture_paths.cpp)
target_link_libraries(capture_paths_tests PRIVATE capture_paths)
add_test(NAME capture_paths_tests COMMAND capture_paths_tests)
add_executable(view_model_tests tests/test_view_model.cpp)
target_link_libraries(view_model_tests PRIVATE view_model)
add_test(NAME view_model_tests COMMAND view_model_tests)
add_executable(view_mode_model_tests tests/test_view_mode_model.cpp)
target_link_libraries(view_mode_model_tests PRIVATE view_mode_model)
add_test(NAME view_mode_model_tests COMMAND view_mode_model_tests)
# ---------------------------------------------------------------------------
# 4) The REAPER extension — a loadable module (dlopen'd by REAPER, not linked).
@@ -72,7 +72,7 @@ add_library(reaper_reasampler MODULE
src/main.cpp
src/capture.cpp
src/persist.cpp
src/view_model.cpp
src/view_mode_model.cpp
)
target_link_libraries(reaper_reasampler PRIVATE bank_model capture_paths)
target_include_directories(reaper_reasampler PRIVATE ${SDK_INC} ${WDL_INC})