| 26 | |
| 27 | |
| 28 | ViewerVersion::Parser::Parser(const char* verStr) |
| 29 | { |
| 30 | if (Parsed) |
| 31 | return; |
| 32 | |
| 33 | tList<tStringItem> components; |
| 34 | tStd::tExplode(components, tString(verStr), '.'); |
| 35 | |
| 36 | tStringItem* comp = components.First(); Major = comp->GetAsInt(10); |
| 37 | comp = comp->Next(); Minor = comp->GetAsInt(10); |
| 38 | comp = comp->Next(); Revision = comp->GetAsInt(10); |
| 39 | Parsed = true; |
| 40 | } |
nothing calls this directly
no outgoing calls
no test coverage detected