diff framework/Document.cpp @ 159:06fc6fc21739

* more activity updates
author Chris Cannam
date Tue, 24 Feb 2009 16:44:43 +0000
parents c0b176d86be7
children 64b09e5bda21
line wrap: on
line diff
--- a/framework/Document.cpp	Tue Feb 24 14:01:42 2009 +0000
+++ b/framework/Document.cpp	Tue Feb 24 16:44:43 2009 +0000
@@ -958,6 +958,14 @@
     }
 }
 
+QString
+Document::AddLayerCommand::getName() const
+{
+    std::cerr << "Document::AddLayerCommand::getName(): Name is "
+              << m_name.toStdString() << std::endl;
+    return m_name;
+}
+
 void
 Document::AddLayerCommand::execute()
 {
@@ -1008,6 +1016,14 @@
     }
 }
 
+QString
+Document::RemoveLayerCommand::getName() const
+{
+    std::cerr << "Document::RemoveLayerCommand::getName(): Name is "
+              << m_name.toStdString() << std::endl;
+    return m_name;
+}
+
 void
 Document::RemoveLayerCommand::execute()
 {