Reorganize top-level directories with clearer naming convention

app -> app-desktop-macos, presets -> app-presets, server -> remote-server,
daw-config-reaper -> osc-config-daw, plugin-reaper-realearn -> plugin-reaper-relearn.
Updated run.py and presets.py path references accordingly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Paul Lipscomb
2026-07-15 17:51:05 -04:00
parent e58f06d9fa
commit 7ecc718f5d
2256 changed files with 11 additions and 5 deletions
@@ -0,0 +1,20 @@
use base::hash_util::NonCryptoHashMap;
use helgoboss_learn::devices::x_touch::XTouchMackieLcdState;
use reaper_medium::MidiOutputDeviceId;
/// Global state about sources.
#[derive(Default)]
pub struct RealearnSourceState {
x_touch_mackie_lcd_state_by_device: NonCryptoHashMap<MidiOutputDeviceId, XTouchMackieLcdState>,
}
impl RealearnSourceState {
pub fn get_x_touch_mackie_lcd_state_mut(
&mut self,
device: MidiOutputDeviceId,
) -> &mut XTouchMackieLcdState {
self.x_touch_mackie_lcd_state_by_device
.entry(device)
.or_default()
}
}