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,22 @@
use crate::{FeedbackValue, MidiSourceAddress, RawMidiEvents};
use std::borrow::Cow;
// The lifetime 'a is necessary in case we want to parameterize the lifetime
// of the additional input dynamically. An alternative would have been to
// require the additional input type to be static and take it by reference.
// But that would be less generic.
pub trait MidiSourceScript<'a> {
type AdditionalInput: Default;
/// Returns raw MIDI bytes.
fn execute(
&self,
input_value: FeedbackValue,
additional_input: Self::AdditionalInput,
) -> Result<MidiSourceScriptOutcome, Cow<'static, str>>;
}
pub struct MidiSourceScriptOutcome {
pub address: Option<MidiSourceAddress>,
pub events: RawMidiEvents,
}