universal change in the design of the way Route/Track controls are designed and used...
[ardour.git] / libs / ardour / enums.cc
index f3972f346c913850ea4a21dc7489e7d85231f042..85634640b95ddb7a0311557a021747dd35638328 100644 (file)
@@ -34,6 +34,7 @@
 #include "ardour/mute_master.h"
 #include "ardour/session.h"
 #include "ardour/source.h"
+#include "ardour/tempo.h"
 #include "ardour/track.h"
 #include "ardour/types.h"
 
@@ -103,6 +104,7 @@ setup_enum_writer ()
        Diskstream::Flag _Diskstream_Flag;
        Location::Flags _Location_Flags;
        PositionLockStyle _PositionLockStyle;
+       TempoSection::Type _TempoSection_Type;
        Track::FreezeState _Track_FreezeState;
        AutomationList::InterpolationStyle _AutomationList_InterpolationStyle;
        AnyTime::Type _AnyTime_Type;
@@ -138,20 +140,47 @@ setup_enum_writer ()
 #define REGISTER_ENUM(e) i.push_back (e); s.push_back (#e)
 #define REGISTER_CLASS_ENUM(t,e) i.push_back (t::e); s.push_back (#e)
 
+       REGISTER_ENUM (NullAutomation);
        REGISTER_ENUM (GainAutomation);
-       REGISTER_ENUM (TrimAutomation);
        REGISTER_ENUM (PanAzimuthAutomation);
        REGISTER_ENUM (PanElevationAutomation);
        REGISTER_ENUM (PanWidthAutomation);
+       REGISTER_ENUM (PanFrontBackAutomation);
+       REGISTER_ENUM (PanLFEAutomation);
        REGISTER_ENUM (PluginAutomation);
        REGISTER_ENUM (PluginPropertyAutomation);
        REGISTER_ENUM (SoloAutomation);
+       REGISTER_ENUM (SoloIsolateAutomation);
+       REGISTER_ENUM (SoloSafeAutomation);
        REGISTER_ENUM (MuteAutomation);
        REGISTER_ENUM (MidiCCAutomation);
+       REGISTER_ENUM (MidiPgmChangeAutomation);
+       REGISTER_ENUM (MidiPitchBenderAutomation);
+       REGISTER_ENUM (MidiChannelPressureAutomation);
+       REGISTER_ENUM (MidiSystemExclusiveAutomation);
        REGISTER_ENUM (FadeInAutomation);
        REGISTER_ENUM (FadeOutAutomation);
        REGISTER_ENUM (EnvelopeAutomation);
-       REGISTER_BITS (_AutomationType);
+       REGISTER_ENUM (RecEnableAutomation);
+       REGISTER_ENUM (RecSafeAutomation);
+       REGISTER_ENUM (TrimAutomation);
+       REGISTER_ENUM (PhaseAutomation);
+       REGISTER_ENUM (MonitoringAutomation);
+       REGISTER_ENUM (EQGain);
+       REGISTER_ENUM (EQFrequency);
+       REGISTER_ENUM (EQQ);
+       REGISTER_ENUM (EQShape);
+       REGISTER_ENUM (EQHPF);
+       REGISTER_ENUM (EQEnable);
+       REGISTER_ENUM (CompThreshold);
+       REGISTER_ENUM (CompSpeed);
+       REGISTER_ENUM (CompMode);
+       REGISTER_ENUM (CompMakeup);
+       REGISTER_ENUM (CompRedux);
+       REGISTER_ENUM (CompEnable);
+       REGISTER_ENUM (BusSendLevel);
+       REGISTER_ENUM (BusSendEnable);
+       REGISTER (_AutomationType);
 
        REGISTER_ENUM (Off);
        REGISTER_ENUM (Write);
@@ -192,6 +221,7 @@ setup_enum_writer ()
        REGISTER_ENUM (MeterIEC2EBU);
        REGISTER_ENUM (MeterVU);
        REGISTER_ENUM (MeterPeak0dB);
+       REGISTER_ENUM (MeterMCP);
        REGISTER (_MeterType);
 
        REGISTER_ENUM (Normal);
@@ -297,7 +327,7 @@ setup_enum_writer ()
        REGISTER (_RemoteModel);
        /*
         * EditorOrdered has been deprecated
-        * since the removal of independent 
+        * since the removal of independent
         * editor / mixer ordering.
        */
        enum_writer.add_to_hack_table ("EditorOrdered", "MixerOrdered");
@@ -307,12 +337,12 @@ setup_enum_writer ()
        REGISTER (_LayerModel);
 
        REGISTER_ENUM (InsertMergeReject);
-        REGISTER_ENUM (InsertMergeRelax);
-        REGISTER_ENUM (InsertMergeReplace);
-        REGISTER_ENUM (InsertMergeTruncateExisting);
-        REGISTER_ENUM (InsertMergeTruncateAddition);
-        REGISTER_ENUM (InsertMergeExtend);
-        REGISTER (_InsertMergePolicy);
+       REGISTER_ENUM (InsertMergeRelax);
+       REGISTER_ENUM (InsertMergeReplace);
+       REGISTER_ENUM (InsertMergeTruncateExisting);
+       REGISTER_ENUM (InsertMergeTruncateAddition);
+       REGISTER_ENUM (InsertMergeExtend);
+       REGISTER (_InsertMergePolicy);
 
        REGISTER_ENUM (AfterFaderListen);
        REGISTER_ENUM (PreFaderListen);
@@ -325,7 +355,7 @@ setup_enum_writer ()
        REGISTER_ENUM (UseDefaultNames);
        REGISTER_ENUM (NameAfterDriver);
        REGISTER_BITS (_TracksAutoNamingRule);
-    
+
        REGISTER_ENUM (FormatFloat);
        REGISTER_ENUM (FormatInt24);
        REGISTER_ENUM (FormatInt16);
@@ -404,7 +434,7 @@ setup_enum_writer ()
        REGISTER_CLASS_ENUM (SessionEvent, Replace);
        REGISTER_CLASS_ENUM (SessionEvent, Clear);
        REGISTER (_SessionEvent_Action);
-       
+
        REGISTER_CLASS_ENUM (Session, Stopped);
        REGISTER_CLASS_ENUM (Session, Waiting);
        REGISTER_CLASS_ENUM (Session, Running);
@@ -509,6 +539,10 @@ setup_enum_writer ()
        REGISTER_CLASS_ENUM (Location, IsSkip);
        REGISTER_BITS (_Location_Flags);
 
+       REGISTER_CLASS_ENUM (TempoSection, Ramp);
+       REGISTER_CLASS_ENUM (TempoSection, Constant);
+       REGISTER (_TempoSection_Type);
+
        REGISTER_CLASS_ENUM (Track, NoFreeze);
        REGISTER_CLASS_ENUM (Track, Frozen);
        REGISTER_CLASS_ENUM (Track, UnFrozen);