From f66a8b8fdc4e9dafd40b1b1bc54ee3023979598e Mon Sep 17 00:00:00 2001 From: kaetemi Date: Wed, 27 Nov 2019 18:50:06 +0800 Subject: [PATCH] Document parameters --- code/nel/include/nel/misc/i_streamed_package_provider.h | 2 +- code/nel/include/nel/web/http_package_provider.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/nel/include/nel/misc/i_streamed_package_provider.h b/code/nel/include/nel/misc/i_streamed_package_provider.h index 320e3cdfd..da2618d85 100644 --- a/code/nel/include/nel/misc/i_streamed_package_provider.h +++ b/code/nel/include/nel/misc/i_streamed_package_provider.h @@ -32,7 +32,7 @@ public: /// Download a file. This call is blocking /// filePath: [out] ex. /games/nel/stream/00/00/000000000.. /// hash: [in] - /// name: [in] name for debugging + /// name: [in] name for debugging purposes virtual bool getFile(std::string &filePath, const CHashKey &hash, const std::string &name = "") = 0; }; /* class IStreamedPackageProvider */ diff --git a/code/nel/include/nel/web/http_package_provider.h b/code/nel/include/nel/web/http_package_provider.h index fdda80937..e1d1bb8a4 100644 --- a/code/nel/include/nel/web/http_package_provider.h +++ b/code/nel/include/nel/web/http_package_provider.h @@ -51,6 +51,7 @@ public: /// Download a file. This call is blocking /// filePath: [out] ex. /games/nel/stream/00/00/000000000.. /// hash: [in] + /// name: [in] name for debugging purposes virtual bool getFile(std::string &filePath, const NLMISC::CHashKey &hash, const std::string &name) NL_OVERRIDE; public: