CLOUD: Make enum StorageIDs' name singular

This commit is contained in:
Peter Bozsó 2016-06-12 21:32:29 +02:00 committed by Alexander Tkachev
parent c068b74f30
commit 1403cf006c
2 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@ Common::String CloudManager::getStorageConfigName(uint32 index) const {
case kStorageOneDriveId: return "OneDrive";
case kStorageGoogleDriveId: return "GoogleDrive";
}
assert(false); // Unhandled StorageIDs value
assert(false); // Unhandled StorageID value
return "";
}

View File

@ -36,8 +36,8 @@ class CommandReceiver;
namespace Cloud {
//that's actual indexes in CloudManager's array
enum StorageIDs {
// The actual indexes in CloudManager's array
enum StorageID {
kStorageNoneId = 0,
kStorageDropboxId = 1,
kStorageOneDriveId = 2,
@ -84,7 +84,7 @@ public:
* @note this method automatically saves the changes with ConfMan.
*
* @param storage Cloud::Storage to replace active storage with.
* @param index one of Cloud::StorageIDs enum values to indicate what storage type is replaced.
* @param index one of Cloud::StorageID enum values to indicate what storage type is replaced.
*/
void replaceStorage(Storage *storage, uint32 index);