aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/id
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-20 18:47:34 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitb180c73675846f45abab2190b39e0b9d0d6addbf (patch)
tree3bdd7dc9f23406220022e8b9261ae748362b4de1 /backends/cloud/id
parenta449ddce15c512e809b9aedad334db6b52628e61 (diff)
downloadscummvm-rg350-b180c73675846f45abab2190b39e0b9d0d6addbf.tar.gz
scummvm-rg350-b180c73675846f45abab2190b39e0b9d0d6addbf.tar.bz2
scummvm-rg350-b180c73675846f45abab2190b39e0b9d0d6addbf.zip
CLOUD: Do some refactoring/cleanup
Nothing really major.
Diffstat (limited to 'backends/cloud/id')
-rw-r--r--backends/cloud/id/idstorage.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/backends/cloud/id/idstorage.cpp b/backends/cloud/id/idstorage.cpp
index 28f880522e..5b0f9db347 100644
--- a/backends/cloud/id/idstorage.cpp
+++ b/backends/cloud/id/idstorage.cpp
@@ -36,26 +36,26 @@ namespace Id {
IdStorage::~IdStorage() {}
void IdStorage::printFiles(FileArrayResponse response) {
- debug("files:");
+ debug(9, "files:");
Common::Array<StorageFile> &files = response.value;
for (uint32 i = 0; i < files.size(); ++i) {
- debug("\t%s%s", files[i].name().c_str(), files[i].isDirectory() ? " (directory)" : "");
- debug("\t%s", files[i].path().c_str());
- debug("\t%s", files[i].id().c_str());
- debug(" ");
+ debug(9, "\t%s%s", files[i].name().c_str(), files[i].isDirectory() ? " (directory)" : "");
+ debug(9, "\t%s", files[i].path().c_str());
+ debug(9, "\t%s", files[i].id().c_str());
+ debug(9, " ");
}
}
void IdStorage::printBool(BoolResponse response) {
- debug("bool: %s", response.value ? "true" : "false");
+ debug(9, "bool: %s", response.value ? "true" : "false");
}
void IdStorage::printFile(UploadResponse response) {
- debug("\nuploaded file info:");
- debug("\tid: %s", response.value.path().c_str());
- debug("\tname: %s", response.value.name().c_str());
- debug("\tsize: %u", response.value.size());
- debug("\ttimestamp: %u", response.value.timestamp());
+ debug(9, "\nuploaded file info:");
+ debug(9, "\tid: %s", response.value.path().c_str());
+ debug(9, "\tname: %s", response.value.name().c_str());
+ debug(9, "\tsize: %u", response.value.size());
+ debug(9, "\ttimestamp: %u", response.value.timestamp());
}
Storage::ListDirectoryCallback IdStorage::getPrintFilesCallback() {