+//================================================================================
+/*!
+ * \brief Return lines of the result script
+ */
+//================================================================================
+void SMESH_NoteBook::GetResultLines(std::list< TCollection_AsciiString >& lines) const
+{
+ for ( size_t i = 0; i < _commands.size(); i++ )
+ lines.push_back( _commands[i]->GetString() );
+}
+