#include "config.h"
#include "dcpomatic_log.h"
#include "emailer.h"
-#include <boost/function.hpp>
-#include <boost/function.hpp>
#include "i18n.h"
using std::list;
using std::shared_ptr;
using boost::optional;
-using boost::function;
+using std::function;
int
list<KDMWithMetadataPtr> kdms,
boost::filesystem::path directory,
dcp::NameFormat name_format,
- boost::function<bool (boost::filesystem::path)> confirm_overwrite
+ std::function<bool (boost::filesystem::path)> confirm_overwrite
)
{
int written = 0;
* @param cpl_name Name of the CPL that the KDMs are for.
*/
void
-email (
+send_emails (
list<list<KDMWithMetadataPtr>> kdms,
dcp::NameFormat container_name_format,
dcp::NameFormat filename_format,
string screens;
for (auto j: i) {
- auto screen_name = j->get('n');
+ auto screen_name = j->get('s');
if (screen_name) {
screens += *screen_name + ", ";
}