/*
- Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
*/
+#ifndef DCPOMATIC_FONT_H
+#define DCPOMATIC_FONT_H
+
#include <libcxml/cxml.h>
#include <boost/optional.hpp>
#include <boost/filesystem.hpp>
class Font
{
public:
- Font () {}
-
Font (std::string id_)
: id (id_) {}
void as_xml (xmlpp::Node* node);
- /** Font ID, or empty for the default font */
- boost::optional<std::string> id;
+ /** Font ID, used to describe it in the subtitle content */
+ std::string id;
boost::optional<boost::filesystem::path> file;
};
bool
operator!= (Font const & a, Font const & b);
+
+#endif