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

NAME

8       mail::folder::clone - Clone a mail::folder object
9

SYNOPSIS

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

USAGE

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

RETURN CODES AND CALLBACKS

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

SEE ALSO

36       mail::folder::createSubFolder(3x), mail::folder::readSubFolders(3x).
37

AUTHOR

39       Sam Varshavchik
40
41
42
43ConeĀ©                             08/25/2016           MAIL::FOLDER::CLONE(3x)
Impressum