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:
@@ -0,0 +1,24 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Eq, PartialEq, Debug, Serialize, Deserialize)]
|
||||
#[serde(tag = "kind")]
|
||||
pub enum InstanceInfoEvent {
|
||||
Generic(GenericInstanceInfoEvent),
|
||||
/// If attempting to MIDI-learn but the track is either not armed or the input monitoring mode
|
||||
/// is not suitable.
|
||||
MidiLearnFromFxInputButTrackNotArmed,
|
||||
MidiLearnFromFxInputButTrackHasAudioInput,
|
||||
}
|
||||
|
||||
impl InstanceInfoEvent {
|
||||
pub fn generic(message: impl Into<String>) -> Self {
|
||||
Self::Generic(GenericInstanceInfoEvent {
|
||||
message: message.into(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Eq, PartialEq, Debug, Serialize, Deserialize)]
|
||||
pub struct GenericInstanceInfoEvent {
|
||||
pub message: String,
|
||||
}
|
||||
Reference in New Issue
Block a user