projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix deadlock.
[dcpomatic.git]
/
src
/
lib
/
ratio.h
diff --git
a/src/lib/ratio.h
b/src/lib/ratio.h
index 42f29458ab883deead8b9ea4f826d3eefa6da5d1..40f596ab8ea6dd1f3d0aa6a9c9bb6e7b69d4428d 100644
(file)
--- a/
src/lib/ratio.h
+++ b/
src/lib/ratio.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013
-2018
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-25,6
+25,9
@@
#include <boost/utility.hpp>
#include <vector>
#include <boost/utility.hpp>
#include <vector>
+/** @class Ratio
+ * @brief Description of an image ratio.
+ */
class Ratio : public boost::noncopyable
{
public:
class Ratio : public boost::noncopyable
{
public:
@@
-46,6
+49,10
@@
public:
std::string container_nickname () const;
std::string container_nickname () const;
+ bool used_for_container () const {
+ return static_cast<bool> (_container_nickname);
+ }
+
std::string isdcf_name () const {
return _isdcf_name;
}
std::string isdcf_name () const {
return _isdcf_name;
}