aboutsummaryrefslogtreecommitdiff
path: root/paludis/literal_metadata_key.hh
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/literal_metadata_key.hh')
-rw-r--r--paludis/literal_metadata_key.hh17
1 files changed, 17 insertions, 0 deletions
diff --git a/paludis/literal_metadata_key.hh b/paludis/literal_metadata_key.hh
index 0d4821a03..02285f6b3 100644
--- a/paludis/literal_metadata_key.hh
+++ b/paludis/literal_metadata_key.hh
@@ -68,6 +68,23 @@ namespace paludis
};
/**
+ * Implement extra methods for LiteralMetadataValueKey for long.
+ *
+ * \ingroup g_metadata_key
+ * \since 0.28
+ */
+ template <>
+ class ExtraLiteralMetadataValueKeyMethods<long> :
+ public virtual ExtraMetadataValueKeyMethods<long>
+ {
+ public:
+ virtual ~ExtraLiteralMetadataValueKeyMethods() = 0;
+
+ virtual std::string pretty_print() const
+ PALUDIS_ATTRIBUTE((warn_unused_result));
+ };
+
+ /**
* A LiteralMetadataValueKey is a MetadataValueKey whose value is a
* copyable literal that is known at construction time.
*