Clementine Adore Mod
 All Classes Namespaces Files Functions Variables Macros Pages
lastfm Namespace Reference

To store track metadata the Track class was incorporated from from lastfm. More...

Detailed Description

To store track metadata the Track class was incorporated from from lastfm.

Here is the original comment: Our track type. It's quite good, you may want to use it as your track type in general. It is explicitly shared. Which means when you make a copy, they both point to the same data still. This is like Qt's implicitly shared classes, eg. QString, however if you mod a copy of a QString, the copy detaches first, so then you have two copies. Our Track object doesn't detach, which is very handy for our usage in the client, but perhaps not what you want. If you need a deep copy for eg. work in a thread, call clone().