proper semantics for variable port-count
[ardour.git] / libs / ardour / ardour / session_metadata.h
index c4341dbc61a30c6fd0f315661a680066c785e213..a8fb977e51948d177d50fde32e80fa6ae4eedf54 100644 (file)
 #include "pbd/statefuldestructible.h"
 #include "pbd/xml++.h"
 
+#include "ardour/libardour_visibility.h"
+
 namespace ARDOUR {
 
 /** Represents metadata associated to a Session
  * Metadata can be accessed and edited via this class.
  * Exported files can also be tagged with this data.
  */
-class SessionMetadata : public PBD::StatefulDestructible
+class LIBARDOUR_API SessionMetadata : public PBD::StatefulDestructible
 {
   public:
        //singleton instance:
@@ -50,6 +52,7 @@ class SessionMetadata : public PBD::StatefulDestructible
        uint32_t year () const;
 
        std::string grouping () const;
+       std::string barcode () const;
        std::string title () const;
        std::string subtitle () const;
 
@@ -91,6 +94,7 @@ class SessionMetadata : public PBD::StatefulDestructible
        void set_year (uint32_t);
 
        void set_grouping (const std::string &);
+       void set_barcode (const std::string &);
        void set_title (const std::string &);
        void set_subtitle (const std::string &);
 
@@ -132,7 +136,7 @@ class SessionMetadata : public PBD::StatefulDestructible
 
   private:
 
-       static SessionMetadata *_metadata;  //singleton instance 
+       static SessionMetadata *_metadata;  //singleton instance
 
        typedef std::pair<std::string, std::string> Property;
        typedef std::map<std::string, std::string> PropertyMap;