Tidying.
[libdcp.git] / src / font_asset.h
index 5b431650b3172747d729e58a883cc668c0b0572f..d39a6b244cd57c002675a1fce3d2bd4c6ec531ed 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2015-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of libdcp.
 
     files in the program, then also delete it here.
 */
 
+
 /** @file  src/font_asset.h
- *  @brief FontAsset class.
+ *  @brief FontAsset class
  */
 
+
 #include "asset.h"
 
+
 namespace dcp {
 
+
 /** @class FontAsset
  *  @brief A (truetype) font asset for subtitles in an Interop DCP.
  */
@@ -47,8 +51,13 @@ class FontAsset : public Asset
 public:
        FontAsset (std::string id, boost::filesystem::path file);
 
+       static std::string static_pkl_type (Standard standard);
+
 private:
-       std::string pkl_type (Standard standard) const;
+       std::string pkl_type (Standard standard) const {
+               return static_pkl_type (standard);
+       }
 };
 
+
 }