aboutsummaryrefslogtreecommitdiffstats
path: root/src/vmime/parameter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vmime/parameter.hpp')
-rw-r--r--src/vmime/parameter.hpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/vmime/parameter.hpp b/src/vmime/parameter.hpp
index a97408b9..d1e6ea72 100644
--- a/src/vmime/parameter.hpp
+++ b/src/vmime/parameter.hpp
@@ -44,8 +44,26 @@ private:
public:
- explicit parameter(const string& name);
+ /** Construct a parameter with no value.
+ * Charset is set to the current locale charset.
+ *
+ * @param name parameter name
+ */
+ parameter(const string& name);
+
+ /** Construct a parameter given a name and a value.
+ *
+ * @param name parameter name
+ * @param value parameter value
+ */
parameter(const string& name, const word& value);
+
+ /** Construct a parameter given a name and a string value
+ * expressed in the current locale charset.
+ *
+ * @param name parameter name
+ * @param value parameter value
+ */
parameter(const string& name, const string& value);