diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-21 22:36:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-21 22:36:24 +0100 |
| commit | f968fb875135884b0551195edc2315d4be76d5bc (patch) | |
| tree | a7a7c0f4a68a86b41e14206d6b2839011fddc4bb /src/lib/check_content_change_job.h | |
| parent | 3734060fc1c7db2d1bdb44ff59eece4d1df6cad6 (diff) | |
Check content for changes on loading a project.
Diffstat (limited to 'src/lib/check_content_change_job.h')
| -rw-r--r-- | src/lib/check_content_change_job.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/lib/check_content_change_job.h b/src/lib/check_content_change_job.h new file mode 100644 index 000000000..4ae3ed1e9 --- /dev/null +++ b/src/lib/check_content_change_job.h @@ -0,0 +1,35 @@ +/* + Copyright (C) 2018 Carl Hetherington <cth@carlh.net> + + 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. + + 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 DCP-o-matic. If not, see <http://www.gnu.org/licenses/>. + +*/ + +#include "job.h" + +/** @class CheckContentChangeJob + * @brief A job to check whether content has changed since it was added to the film. + */ + +class CheckContentChangeJob : public Job +{ +public: + CheckContentChangeJob (boost::shared_ptr<const Film>); + + std::string name () const; + std::string json_name () const; + void run (); +}; |
