|
|
@@ -101,6 +101,7 @@ struct TransitionList;
|
|
|
struct Rectangle;
|
|
|
enum class EventId : uint16_t;
|
|
|
enum class PropertyId : uint8_t;
|
|
|
+enum class FamilyId : int;
|
|
|
|
|
|
// Types for external interfaces.
|
|
|
using FileHandle = uintptr_t;
|
|
|
@@ -206,6 +207,10 @@ template <> struct hash<::Rml::Character> {
|
|
|
using utype = typename ::std::underlying_type<::Rml::Character>::type;
|
|
|
size_t operator() (const ::Rml::Character& t) const { ::std::hash<utype> h; return h(static_cast<utype>(t)); }
|
|
|
};
|
|
|
+template <> struct hash<::Rml::FamilyId> {
|
|
|
+ using utype = typename ::std::underlying_type<::Rml::FamilyId>::type;
|
|
|
+ size_t operator() (const ::Rml::FamilyId& t) const { ::std::hash<utype> h; return h(static_cast<utype>(t)); }
|
|
|
+};
|
|
|
}
|
|
|
|
|
|
#endif
|