1MAIL::ACCOUNT::GETFO(3x)Cone: COnsole Newsreader And EMAIL::ACCOUNT::GETFO(3x)
2
3
4

NAME

6       mail::ACCOUNT::getFolderFromString - Restore a folder object
7

SYNOPSIS

9       #include <libmail/sync.H>
10
11       mail::ACCOUNT *mail;
12       mail::folder *folder;
13
14       std::string savedFolder=folder->toString();
15
16       ...
17
18       mail::folder *f=mail->getFolderFromString(std::string savedFolder);
19

USAGE

21       This function is the mail::ACCOUNT equivalent of
22       mail::account::folderFromString(3x). See the description of this
23       function for more information.
24

RETURN CODES AND CALLBACKS

26       This function returns a NULL pointer if it cannot allocate memory for
27       the new mail::folder object.
28
29           Note
30           mail::folders are linked to their corresponding mail::accounts. A
31           mail::folder created by one mail::account may not be used with a
32           different mail::folder. All mail::folders created by a
33           mail::account are invalidated when this mail::account object is
34           destroyed. Note that the mail::folder objects are not automatically
35           destroyed; the application is still responsible for destroying any
36           remaining mail::folders, after their a mail::account is destroyed.
37

SEE ALSO

39       mail::account::folderFromString(3x).
40
41
42
43[FIXME: source]                   05/08/2010          MAIL::ACCOUNT::GETFO(3x)
Impressum