X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=qui%2Fmotif_editor%2FMotifEditor.hpp;h=1cc8a2fff846e16050d77371550b2c5b622fc37b;hp=aaff9a729a9cc59d3f01f9ed3c8d38e7dc8760d9;hb=f88eea68b95773eb5683dcca6cf3fa59b9f00036;hpb=489a97bfb58bfe2e9981c4afd3f7a9da14919e63 diff --git a/qui/motif_editor/MotifEditor.hpp b/qui/motif_editor/MotifEditor.hpp index aaff9a7..1cc8a2f 100644 --- a/qui/motif_editor/MotifEditor.hpp +++ b/qui/motif_editor/MotifEditor.hpp @@ -24,6 +24,12 @@ public: //! resize cells void updateView(); + //! return the analysis, intended for testing + MussaRef get_analysis() { return analysis; } + //! return the internal model used by the editor + //! this is mostly intended for testing + MotifModel *get_model() { return model; } + public slots: //! create model and attach it to the table view void updateModel();