| 126 | } |
| 127 | |
| 128 | void idUserInterfaceManagerLocal::Reload( bool all ) { |
| 129 | ID_TIME_T ts; |
| 130 | |
| 131 | int c = guis.Num(); |
| 132 | for ( int i = 0; i < c; i++ ) { |
| 133 | if ( !all ) { |
| 134 | fileSystem->ReadFile( guis[i]->GetSourceFile(), NULL, &ts ); |
| 135 | if ( ts <= guis[i]->GetTimeStamp() ) { |
| 136 | continue; |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | guis[i]->InitFromFile( guis[i]->GetSourceFile() ); |
| 141 | common->Printf( "reloading %s.\n", guis[i]->GetSourceFile() ); |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | void idUserInterfaceManagerLocal::ListGuis() const { |
| 146 | int c = guis.Num(); |
nothing calls this directly
no test coverage detected