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:
Tatsuhiro Tsujikawa 2008-05-13 14:15:23 +00:00
parent 9d03f0d2f7
commit 386d19693b
59 changed files with 308 additions and 122 deletions

View file

@ -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; }