mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 22:17:38 +03:00
2008-05-13 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Replaced "" with static const variable A2STR::NIL. Replaced string comparison against "" with std::string::empty(). Added PROTO_* to Request class and use them as a protocol string constant. Made "started", "stopped", "completed" static const variable in AnnounceList class.
This commit is contained in:
parent
9d03f0d2f7
commit
386d19693b
59 changed files with 308 additions and 122 deletions
|
@ -36,6 +36,7 @@
|
|||
#define _D_NULL_PROGRESS_INFO_FILE_H_
|
||||
|
||||
#include "BtProgressInfoFile.h"
|
||||
#include "A2STR.h"
|
||||
|
||||
namespace aria2 {
|
||||
|
||||
|
@ -45,7 +46,7 @@ public:
|
|||
|
||||
virtual std::string getFilename()
|
||||
{
|
||||
return "";
|
||||
return A2STR::NIL;
|
||||
}
|
||||
|
||||
virtual bool exists() { return false; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue