Added toAddressList().
This commit is contained in:
parent
5280d12555
commit
64ba82c100
@ -210,4 +210,11 @@ void mailboxList::generate(utility::outputStream& os, const string::size_type ma
|
||||
}
|
||||
|
||||
|
||||
ref <addressList> mailboxList::toAddressList() const
|
||||
{
|
||||
return m_list.clone().dynamicCast <addressList>();
|
||||
}
|
||||
|
||||
|
||||
} // vmime
|
||||
|
||||
|
@ -145,6 +145,12 @@ public:
|
||||
*/
|
||||
const std::vector <ref <mailbox> > getMailboxList();
|
||||
|
||||
/** Return a list of addresses.
|
||||
*
|
||||
* @return list of addresses
|
||||
*/
|
||||
ref <addressList> toAddressList() const;
|
||||
|
||||
private:
|
||||
|
||||
addressList m_list;
|
||||
|
Loading…
Reference in New Issue
Block a user