diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-13 11:30:30 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-13 11:30:30 +0100 |
| commit | 6f23b55a7783f93549115a133ca2e6e938bd0cd1 (patch) | |
| tree | 6c674d088eb37dd9d91992366cfa6ddb3e0e69e5 /src/lib/referenced_reel_asset.h | |
| parent | f9068dcbfbb09082e29e2a779ef1a7a2f6ee849e (diff) | |
Some attempts to block referencing of DCPs when it is not possible.
Diffstat (limited to 'src/lib/referenced_reel_asset.h')
| -rw-r--r-- | src/lib/referenced_reel_asset.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/referenced_reel_asset.h b/src/lib/referenced_reel_asset.h new file mode 100644 index 000000000..5f5421283 --- /dev/null +++ b/src/lib/referenced_reel_asset.h @@ -0,0 +1,32 @@ +/* + Copyright (C) 2015 Carl Hetherington <cth@carlh.net> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + +class ReferencedReelAsset +{ +public: + ReferencedReelAsset (boost::shared_ptr<dcp::ReelAsset> asset_, DCPTimePeriod period_) + : asset (asset_) + , period (period_) + {} + + /** The asset */ + boost::shared_ptr<dcp::ReelAsset> asset; + /** Period that this asset covers in the DCP */ + DCPTimePeriod period; +}; |
