Private Member Functions | |
void | Paths (tArray< tString > &paths) const |
Definition at line 607 of file tDirectories.cpp.
Implements tPath.
Definition at line 611 of file tDirectories.cpp.
References tString::Len(), pos, tArray< T, MALLOC >::SetLen(), st_DataDir, st_UserDataDir, and st_VarDir.
00612 { 00613 paths.SetLen( 0 ); 00614 int pos = 0; 00615 00616 paths[ pos++ ] = st_DataDir + "/var"; 00617 00618 if ( st_UserDataDir.Len() > 1 ) 00619 { 00620 paths[ pos++ ] = st_UserDataDir + "/var"; 00621 } 00622 00623 if ( st_VarDir.Len() > 1 ) 00624 { 00625 paths[ pos++ ] = st_VarDir; 00626 } 00627 }