/*
- Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#ifndef DCPOMATIC_POSITION_IMAGE_H
#define DCPOMATIC_POSITION_IMAGE_H
class Image;
+
class PositionImage
{
public:
PositionImage () {}
- PositionImage (std::shared_ptr<Image> i, Position<int> p)
+ PositionImage (std::shared_ptr<const Image> i, Position<int> p)
: image (i)
, position (p)
{}
- std::shared_ptr<Image> image;
+ std::shared_ptr<const Image> image;
Position<int> position;
bool same (PositionImage const & other) const;
};
+
#endif