Mercurial > hg > svcore
diff base/PlayParameters.h @ 1742:52705a328b34 by-id
Rejig ById so as to put everything in a single pool, so that at the core you can go from numeric id (untyped) to anything the object can be dynamic_cast to. Useful for building other abstractions like PlayParameter-type registrations that don't know about e.g. Models. Probably some more tweaking needed. Also add tests
author | Chris Cannam |
---|---|
date | Fri, 28 Jun 2019 17:36:30 +0100 |
parents | c01cbe41aeb5 |
children |
line wrap: on
line diff
--- a/base/PlayParameters.h Thu Jun 27 13:08:10 2019 +0100 +++ b/base/PlayParameters.h Fri Jun 28 17:36:30 2019 +0100 @@ -37,8 +37,8 @@ virtual void copyFrom(const PlayParameters *); void toXml(QTextStream &stream, - QString indent = "", - QString extraAttributes = "") const override; + QString indent = "", + QString extraAttributes = "") const override; public slots: virtual void setPlayMuted(bool muted);