switch to using boost::signals2 instead of sigc++, at least for libardour. not finish...
[ardour.git] / libs / ardour / enums.cc
index aa7dda9e505c22ccb13f8ef420b5f4febe6f2892..be61b2acb2bbbf33de9e5876067cc583db314f7b 100644 (file)
@@ -43,6 +43,8 @@ using namespace PBD;
 using namespace ARDOUR;
 using namespace MIDI;
 
+namespace ARDOUR {
+
 void
 setup_enum_writer ()
 {
@@ -305,7 +307,6 @@ setup_enum_writer ()
        REGISTER_CLASS_ENUM (SessionEvent, Audition);
        REGISTER_CLASS_ENUM (SessionEvent, InputConfigurationChange);
        REGISTER_CLASS_ENUM (SessionEvent, SetPlayAudioRange);
-       REGISTER_CLASS_ENUM (SessionEvent, SetRecordEnable);
        REGISTER_CLASS_ENUM (SessionEvent, StopOnce);
        REGISTER_CLASS_ENUM (SessionEvent, AutoLoop);
        REGISTER (_SessionEvent_Type);
@@ -584,6 +585,8 @@ setup_enum_writer ()
 
 }
 
+} /* namespace ARDOUR */
+
 /* deserializing types from ardour/types.h */
 
 std::istream& operator>>(std::istream& o, HeaderFormat& var) 
@@ -795,3 +798,5 @@ std::ostream& operator<<(std::ostream& o, const WaveformShape& var)
        std::string s = enum_2_string (var);
        return o << s;
 }
+
+