summaryrefslogtreecommitdiff
path: root/src/lib/hints.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-07 23:01:12 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-08 01:51:58 +0100
commit09d5906f44907aab5afb41ce2da887550c0011a8 (patch)
treeda54b9ad4dec28ca10b108ad80487ab15c2d68d6 /src/lib/hints.h
parentd4014e6e3de7cdf8168a82621cf6a5a6d47379c8 (diff)
Factor out hints code into its own method.
Diffstat (limited to 'src/lib/hints.h')
-rw-r--r--src/lib/hints.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/lib/hints.h b/src/lib/hints.h
new file mode 100644
index 000000000..3a6850860
--- /dev/null
+++ b/src/lib/hints.h
@@ -0,0 +1,27 @@
+/*
+ Copyright (C) 2016 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 <boost/shared_ptr.hpp>
+#include <vector>
+#include <string>
+
+class Film;
+
+std::vector<std::string> get_hints (boost::shared_ptr<const Film> film);