1mail::ACCOUNT::getFolmdaeirlF:r:oAmCSCtOrUiNnTg(S3yxn)chromnaoiuls::AAPCICOrUeNfTe:r:egnecteFolderFromString(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
19
20       mail::folder *f=mail->getFolderFromString (std::string savedFolder);
21

USAGE

23       This function is the mail::ACCOUNT equivalent of mail::account::folder‐
24       FromString(3x).  See the description of this function for more informa‐
25       tion.
26

RETURN CODES AND CALLBACKS

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

SEE ALSO

41       mail::account::folderFromString(3x).
42
43
44
45                                 10 Aprilma2i0l0:6:ACCOUNT::getFolderFromString(3x)
Impressum