summaryrefslogtreecommitdiffabout
path: root/libmu_cpp/folder.cc
authorSergey Poznyakoff <gray@gnu.org.ua>2012-05-09 09:04:29 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2012-05-09 09:10:18 (GMT)
commit655279cde3acb090140d2ef80cda110ceb1e526a (patch) (side-by-side diff)
tree28ac8bfe8ef7877ac361dda065298220864beec6 /libmu_cpp/folder.cc
parenta67f251ccff25204bce34a134adf5e1225dd18bb (diff)
downloadmailutils-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') (more/less context) (ignore whitespace changes)
-rw-r--r--libmu_cpp/folder.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/libmu_cpp/folder.cc b/libmu_cpp/folder.cc
index e2fb99c..8e894ea 100644
--- a/libmu_cpp/folder.cc
+++ b/libmu_cpp/folder.cc
@@ -110,26 +110,6 @@ Folder :: enumerate (const std::string& name, void* pattern,
return *new List (c_list);
}
-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&
Folder :: get_url ()
{

Return to:

Send suggestions and report system problems to the System administrator.