X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_content_scale.h;h=2f161b1a7069d05e5c5756945fb09bafa9175e16;hb=ad1ef39eda58b3a919ea3b7084401a0439409ec6;hp=3053dda43f854ce444a1fc179631db42cb34a9f0;hpb=2e81be9e5b95fdba1049afc1ddef79e7a66980db;p=dcpomatic.git diff --git a/src/lib/video_content_scale.h b/src/lib/video_content_scale.h index 3053dda43..2f161b1a7 100644 --- a/src/lib/video_content_scale.h +++ b/src/lib/video_content_scale.h @@ -1,19 +1,20 @@ /* Copyright (C) 2013-2015 Carl Hetherington - This program is free software; you can redistribute it and/or modify + This file is part of DCP-o-matic. + + DCP-o-matic 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, + DCP-o-matic 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. + along with DCP-o-matic. If not, see . */ @@ -39,11 +40,11 @@ class VideoContentScale { public: VideoContentScale (); - VideoContentScale (Ratio const *); - VideoContentScale (bool); - VideoContentScale (boost::shared_ptr); + explicit VideoContentScale (Ratio const *); + explicit VideoContentScale (bool); + explicit VideoContentScale (boost::shared_ptr); - dcp::Size size (boost::shared_ptr, dcp::Size display_container, dcp::Size film_container, int round) const; + dcp::Size size (boost::shared_ptr, dcp::Size display_container, dcp::Size film_container) const; std::string id () const; std::string name () const; void as_xml (xmlpp::Node *) const;