Mercurial > hg > sonic-visualiser
diff main/MainWindow.h @ 374:11f804c7582a macness_autotpl
method to map from genre string to template choice; and to use it when importing from itunes
author | Dan Stowell <dan.stowell@eecs.qmul.ac.uk> |
---|---|
date | Fri, 15 Oct 2010 13:30:41 +0100 |
parents | 8b3038e55d50 |
children |
line wrap: on
line diff
--- a/main/MainWindow.h Fri Oct 15 13:29:27 2010 +0100 +++ b/main/MainWindow.h Fri Oct 15 13:30:41 2010 +0100 @@ -68,6 +68,9 @@ bool withOSCSupport = true); virtual ~MainWindow(); + // maps from known genre tags to template choices + QString templateNameFromGenre(QString genre); + signals: virtual void canChangeSolo(bool); virtual void canAlign(bool); @@ -278,6 +281,9 @@ virtual bool shouldCreateNewSessionForRDFAudio(bool *cancel); virtual void connectLayerEditDialog(ModelDataTableDialog *); + + void initGenreToTemplateMap(); + QHash<QString, QString> m_genreToTemplateMap; };