adding exhibit data, starting with descriptions
[laserbrain_demo] / src / exhibit.cc
index d76b291..eaa2251 100644 (file)
@@ -11,6 +11,8 @@ public:
        ExhibitPriv();
 };
 
+
+// selection
 ExSelection::ExSelection(Exhibit *ex)
 {
        this->ex = ex;
@@ -23,11 +25,24 @@ ExSelection::operator bool() const
        return ex != 0;
 }
 
+// Exhibit data
+ExData::ExData()
+{
+       voice = 0;
+}
+
+ExData::~ExData()
+{
+       delete voice;
+}
+
+// private data for each exhibit type
 ExhibitPriv::ExhibitPriv()
 {
        orig_node = 0;
 }
 
+// exhibit class
 Exhibit::Exhibit()
 {
        priv = new ExhibitPriv;