---------------------------------------------------------------------------
| 425 | |
| 426 | //--------------------------------------------------------------------------- |
| 427 | int Preferences::Load(Prefs_t KindOfList, const ZenLib::Ztring &Name) |
| 428 | { |
| 429 | //Test if the file exists |
| 430 | if (!File::Exists(BaseFolder+FolderNames[KindOfList]+__T("\\")+Name+__T(".csv"))) |
| 431 | return -1; |
| 432 | |
| 433 | Details[KindOfList].Load(BaseFolder+FolderNames[KindOfList]+__T("\\")+Name+__T(".csv")); |
| 434 | |
| 435 | return 1; |
| 436 | } |
| 437 | |
| 438 | //--------------------------------------------------------------------------- |
| 439 | int Preferences::Remove(Prefs_t KindOfList, const ZenLib::Ztring &Name) |
no outgoing calls
no test coverage detected