1 ConeĀ©
2
3MAIL::FOLDER::ISPARE(3x)Cone: COnsole Newsreader And EMAIL::FOLDER::ISPARE(3x)
4
5
6
8 mail::folder::isParentOf - Check if another folder is this folder's
9 subfolder
10
12 #include <libmail/mail.H>
13
14 mail::folder *folder;
15 mail::folder *otherFolder;
16
17
18 bool flag=folder->isParentOf(otherFolder->getPath());
19
21 This function returns an indication whether a folder's path (returned
22 by mail::folder::getPath(3x)) refers to a subfolder of this folder.
23
25 The function returns true if the specified path refers to a subfolder
26 of this folder.
27
28 Note
29 true is returned even if the path does not refer to a direct
30 subfolder (a path referring to a subfolder of a subfolder will
31 still result in a true return).
32
34 mail::folder::getPath(3x).
35
37 Sam Varshavchik
38
39
40
41ConeĀ© 08/25/2016 MAIL::FOLDER::ISPARE(3x)