X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fcontent.h;h=7c02ee0e39effc323216cfc28d29da07ea63d236;hp=7fad2ff792f7ea0823d7f68f542298eba87db6a0;hb=d1b4dbb793e2850d032ce3c91f0c91d045ae19dc;hpb=471dee40c1476aba2ff0cff7a57b31306c50b93e diff --git a/src/lib/content.h b/src/lib/content.h index 7fad2ff79..7c02ee0e3 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -192,6 +192,10 @@ public: std::string calculate_digest () const; + virtual bool can_be_played () const { + return true; + } + /* ChangeType::PENDING and ChangeType::CANCELLED may be emitted from any thread; ChangeType::DONE always from GUI thread */ boost::signals2::signal, int, bool)> Change;