X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_content_type.h;h=14204bd722b6d167e5234e09e88eb331b97362ef;hb=25d55759c94adba96336edf6780cee7138c2ec21;hp=b703970a3c7fb6811a3a31f3a051e0296398d51d;hpb=13511ed2fcc23f4d5f9c507c775c3c5cfd82d155;p=dcpomatic.git diff --git a/src/lib/dcp_content_type.h b/src/lib/dcp_content_type.h index b703970a3..14204bd72 100644 --- a/src/lib/dcp_content_type.h +++ b/src/lib/dcp_content_type.h @@ -17,6 +17,9 @@ */ +#ifndef DCPOMATIC_DCP_CONTENT_TYPE_H +#define DCPOMATIC_DCP_CONTENT_TYPE_H + /** @file src/content_type.h * @brief A description of the type of content for a DCP (e.g. feature, trailer etc.) */ @@ -47,6 +50,7 @@ public: } static DCPContentType const * from_pretty_name (std::string); + static DCPContentType const * from_dci_name (std::string); static DCPContentType const * from_index (int); static int as_index (DCPContentType const *); static std::vector all (); @@ -61,3 +65,4 @@ private: static std::vector _dcp_content_types; }; +#endif