From 1403cf006c5ebfd4a6101b89f4ff1d8760bb0ea4 Mon Sep 17 00:00:00 2001 From: Peter Bozsó Date: Sun, 12 Jun 2016 21:32:29 +0200 Subject: CLOUD: Make enum StorageIDs' name singular --- backends/cloud/cloudmanager.cpp | 2 +- backends/cloud/cloudmanager.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'backends') diff --git a/backends/cloud/cloudmanager.cpp b/backends/cloud/cloudmanager.cpp index 0c087be7be..4a87098f50 100644 --- a/backends/cloud/cloudmanager.cpp +++ b/backends/cloud/cloudmanager.cpp @@ -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 ""; } diff --git a/backends/cloud/cloudmanager.h b/backends/cloud/cloudmanager.h index 9f4882d772..48182dcde0 100644 --- a/backends/cloud/cloudmanager.h +++ b/backends/cloud/cloudmanager.h @@ -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); -- cgit v1.2.3