summaryrefslogtreecommitdiff
path: root/libformat/libformat/format.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-20 08:51:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-20 08:51:52 +0200
commit28b92b59909030424420fefbca5a3f5df22337b5 (patch)
tree944313244a0f6319211152dc14e6740d99f75d54 /libformat/libformat/format.hxx
parentef4070dd12a9aedec805003beaad3816ca4dc3f4 (diff)
Make slightly more interesting
Diffstat (limited to 'libformat/libformat/format.hxx')
-rw-r--r--libformat/libformat/format.hxx9
1 files changed, 7 insertions, 2 deletions
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.hxx>
-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);
+}