For 'Route::send_pan_azi_controllable()' (when building non-Mixbus) I'm assuming...
[ardour.git] / libs / ardour / session_metadata.cc
index 017f8b95e589dab5527b6a8afba057c7c47636dc..61818422cf93ed2ccf749f9bbbc1f4f85b72cd1f 100644 (file)
@@ -31,6 +31,9 @@ SessionMetadata *SessionMetadata::_metadata = NULL;  //singleton instance
 SessionMetadata::SessionMetadata ()
 {
        /*** General ***/
+       map.insert (Property ("description", ""));
+
+       /*** Track/Song Data ***/
        map.insert (Property ("comment", ""));
        map.insert (Property ("copyright", ""));
        map.insert (Property ("isrc", ""));
@@ -86,7 +89,7 @@ SessionMetadata::SessionMetadata ()
        //map.insert (Property ("album_artist_sort", ""));
        //map.insert (Property ("artist_sort", ""));
        //map.insert (Property ("title_sort", ""));
-       
+
        /*** Globals ***/
        user_map.insert (Property ("user_name", ""));
        user_map.insert (Property ("user_email", ""));
@@ -222,6 +225,12 @@ SessionMetadata::get_user_state ()
 }
 
 /*** Accessing ***/
+string
+SessionMetadata::description () const
+{
+       return get_value("description");
+}
+
 string
 SessionMetadata::comment () const
 {
@@ -430,6 +439,12 @@ SessionMetadata::country () const
 
 
 /*** Editing ***/
+void
+SessionMetadata::set_description (const string & v)
+{
+       set_value ("description", v);
+}
+
 void
 SessionMetadata::set_comment (const string & v)
 {