diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-05-09 12:04:29 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-05-09 12:10:18 +0300 |
commit | 655279cde3acb090140d2ef80cda110ceb1e526a (patch) | |
tree | 28ac8bfe8ef7877ac361dda065298220864beec6 /libmu_cpp/folder.cc | |
parent | a67f251ccff25204bce34a134adf5e1225dd18bb (diff) | |
download | mailutils-655279cde3acb090140d2ef80cda110ceb1e526a.tar.gz mailutils-655279cde3acb090140d2ef80cda110ceb1e526a.tar.bz2 |
Remove get_stream methods from folder and mailbox.
* doc/texinfo/folder.texi: Update
* include/mailutils/cpp/folder.h (Folder) <set_stream>
<get_stream>: Remove.
* include/mailutils/folder.h (mu_folder_get_stream)
(mu_folder_get_streamref)
(mu_folder_set_stream): Remove.
* include/mailutils/mailbox.h (mu_folder_get_stream)
(mu_folder_get_streamref)
(mu_folder_set_stream): Remove protos.
* include/mailutils/sys/folder.h (_mu_folder)<stream>: Remove.
All uses updated.
* libmailutils/mailbox/folder.c (mu_folder_set_stream)
(mu_folder_get_stream,mu_folder_get_streamref): Remove.
* libmailutils/mailbox/mailbox.c (mu_mailbox_get_stream)
(mu_mailbox_get_streamref): Remove.
* libmu_cpp/folder.cc (get_stream, set_stream): Remove.
* libmu_scm/mu_mailbox.c (mu-mailbox-get-port): Remove.
* python/libmu_py/folder.c (get_stream): Remove.
Diffstat (limited to 'libmu_cpp/folder.cc')
-rw-r--r-- | libmu_cpp/folder.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libmu_cpp/folder.cc b/libmu_cpp/folder.cc index e2fb99c7b..8e894ea80 100644 --- a/libmu_cpp/folder.cc +++ b/libmu_cpp/folder.cc @@ -112,22 +112,2 @@ Folder :: enumerate (const std::string& name, void* pattern, -Stream& -Folder :: get_stream () -{ - mu_stream_t c_stream; - - int status = mu_folder_get_stream (folder, &c_stream); - if (status) - throw Exception ("Folder::get_stream", status); - - return *new Stream (c_stream); -} - -void -Folder :: set_stream (const Stream& stream) -{ - int status = mu_folder_set_stream (folder, stream.stm); - if (status) - throw Exception ("Folder::set_stream", status); -} - Url& |