void FileList_R(cStringList &mylist, cString fullpath, bool usedirs) { cStringList split; // cerr<<"fullpath="<<fullpath<<endl; if(fullpath.Contains('*')) split.FromString(fullpath,"*."); else split.FromString(fullpath,"."); FileList_R(mylist,fullpath.ChopRt('/'),fullpath.ChopAllLf('/'),usedirs); }
void FileList_1(cStringList &mylist, cString fullpath, bool usedirs) { cStringList split; if(fullpath.Contains('*')) split.FromString(fullpath,"*."); else split.FromString(fullpath,"."); FileList_1(mylist,fullpath.ChopRt('/'),fullpath.ChopAllLf('/'),usedirs); }