From 28b92b59909030424420fefbca5a3f5df22337b5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 20 Jul 2017 08:51:52 +0200 Subject: Make slightly more interesting --- libformat/libformat/format.hxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libformat/libformat/format.hxx') diff --git a/libformat/libformat/format.hxx b/libformat/libformat/format.hxx index 9c813ac..c711c16 100644 --- a/libformat/libformat/format.hxx +++ b/libformat/libformat/format.hxx @@ -6,5 +6,10 @@ #include -LIBFORMAT_EXPORT std::string -format (const std::string& greeting, const std::string& name); +namespace format +{ + enum class volume {quiet, normal, loud}; + + LIBFORMAT_EXPORT std::string + message (const std::string& greeting, const std::string& name, volume); +} -- cgit v1.1