1MAIL::FOLDER::CLONE(3x) Cone: COnsole Newsreader And E MAIL::FOLDER::CLONE(3x)
2
3
4

NAME

6       mail::folder::clone - Clone a mail::folder object
7

SYNOPSIS

9       mail::folder *folder;
10
11       mail::folder *folderCopy;
12
13       folderCopy=folder->clone(void);
14

USAGE

16       This function creates a new mail::folder object that refers to the same
17       mail folder, in every possible way. This is usually used by some
18       callback methods that receive pointers to mail::folders, and wish to
19       preserve them for the main application (mail::folders received by
20       callback methods are usually destroyed as soon as the callback method
21       terminates).
22

RETURN CODES AND CALLBACKS

24           Note
25           mail::folders are linked to their corresponding mail::accounts. A
26           mail::folder created by one mail::account may not be used with a
27           different mail::folder. All mail::folders created by a
28           mail::account are invalidated when this mail::account object is
29           destroyed. Note that the mail::folder objects are not automatically
30           destroyed; the application is still responsible for destroying any
31           remaining mail::folders, after their a mail::account is destroyed.
32

SEE ALSO

34       mail::folder::createSubFolder(3x), mail::folder::readSubFolders(3x).
35
36
37
38[FIXME: source]                   05/08/2010           MAIL::FOLDER::CLONE(3x)
Impressum