summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWojciech Polak <polak@gnu.org>2010-04-08 17:34:49 +0200
committerWojciech Polak <polak@gnu.org>2010-04-08 17:34:49 +0200
commit1a374c8cbea21dabe2f7db123a559576531238db (patch)
tree9f73937ae604b2ba5ea090a54422953254187847 /include
parentd8ab03b03566831cb5dfe8caf4a1e1b77106a342 (diff)
downloadmailutils-1a374c8cbea21dabe2f7db123a559576531238db.tar.gz
mailutils-1a374c8cbea21dabe2f7db123a559576531238db.tar.bz2
Reflect recent RFC compatibility changes in Python/C++.
* examples/python/mimetest.py: Update. * include/mailutils/cpp/message.h (get_attachment_name): Overload. * libmu_cpp/message.cc (Message::get_attachment_name): Overload. * python/libmu_py/message.c (api_message_get_attachment_name): Update. * python/mailutils/message.py (Message.get_attachment_name): Add optional charset parameter. Return (name, lang) tuple.
Diffstat (limited to 'include')
-rw-r--r--include/mailutils/cpp/message.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mailutils/cpp/message.h b/include/mailutils/cpp/message.h
index 19f076d4d..bdd50af7c 100644
--- a/include/mailutils/cpp/message.h
+++ b/include/mailutils/cpp/message.h
@@ -68,6 +68,8 @@ class Message
void save_attachment (const std::string& filename);
Message& unencapsulate ();
std::string get_attachment_name ();
+ std::string get_attachment_name (const std::string& charset,
+ char* lang=NULL);
};
}

Return to:

Send suggestions and report system problems to the System administrator.