summaryrefslogtreecommitdiff
path: root/src/AnnounceList.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-25 00:07:14 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2012-09-25 00:07:14 +0900
commit260a0b8bcb925a63bc54196d633614c1e818cc35 (patch)
tree5d837dbb436375158f5e26fcf1fcee0839aa85fb /src/AnnounceList.h
parentb640b830a20a09cd5677616918850b39953f0bcd (diff)
Rewritten AnnounceList::getEventString()
Diffstat (limited to 'src/AnnounceList.h')
-rw-r--r--src/AnnounceList.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/AnnounceList.h b/src/AnnounceList.h
index a4e064a1..61e26c93 100644
--- a/src/AnnounceList.h
+++ b/src/AnnounceList.h
@@ -81,7 +81,7 @@ public:
/**
* Returns announce event, such as started, stopped, completed, etc.
*/
- std::string getEventString() const;
+ const char* getEventString() const;
AnnounceTier::AnnounceEvent getEvent() const;
@@ -130,12 +130,6 @@ public:
bool currentTierAcceptsStoppedEvent() const;
bool currentTierAcceptsCompletedEvent() const;
-
- static const std::string STARTED;
-
- static const std::string STOPPED;
-
- static const std::string COMPLETED;
};
} // namespace aria2