Private Member Functions | |
void | Paths (tArray< tString > &paths) const |
Definition at line 633 of file tDirectories.cpp.
Implements tPath.
Definition at line 637 of file tDirectories.cpp.
References tString::Len(), pos, tArray< T, MALLOC >::SetLen(), st_DataDir, st_ScreenshotDir, and st_UserDataDir.
00638 { 00639 paths.SetLen( 0 ); 00640 int pos = 0; 00641 00642 paths[ pos++ ] = st_DataDir + "/screenshot"; 00643 00644 if ( st_UserDataDir.Len() > 1 ) 00645 paths[ pos++ ] = st_UserDataDir + "/screenshot"; 00646 00647 if ( st_ScreenshotDir.Len() > 1 ) 00648 paths[ pos++ ] = st_ScreenshotDir; 00649 }