Make ::swap virtual.
[libdcp.git] / src / load_font.h
index 6d52a509d2610fd8696f2b9d716ed8a1c5d70eac..15906ef62ee3e8ebcc15e7cc1f64c1d647351a32 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-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
 
 */
 
-#include <boost/shared_ptr.hpp>
-#include <boost/optional.hpp>
-
-namespace cxml {
-       class Node;
-}
+#include <string>
 
 namespace dcp {
-       
-class LoadFont 
+
+class LoadFont
 {
 public:
        LoadFont () {}
-       LoadFont (boost::shared_ptr<const cxml::Node> node);
-
+       LoadFont (std::string id_)
+               : id (id_)
+       {}
+       
        std::string id;
-       boost::optional<std::string> uri;
 };
 
 }