From 0792540bf246d69774966f5cb121c71f536d800d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 21 Mar 2012 01:35:48 +0900 Subject: [PATCH] Prefixed notification method name with "aria2." --- src/Notifier.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/Notifier.cc b/src/Notifier.cc index 8173db05..9375c40d 100644 --- a/src/Notifier.cc +++ b/src/Notifier.cc @@ -59,12 +59,13 @@ void Notifier::removeWebSocketSession wsSessionMan_->removeSession(wsSession); } -const std::string Notifier::ON_DOWNLOAD_START = "onDownloadStart"; -const std::string Notifier::ON_DOWNLOAD_PAUSE = "onDownloadPause"; -const std::string Notifier::ON_DOWNLOAD_STOP = "onDownloadStop"; -const std::string Notifier::ON_DOWNLOAD_COMPLETE = "onDownloadComplete"; -const std::string Notifier::ON_DOWNLOAD_ERROR = "onDownloadError"; -const std::string Notifier::ON_BT_DOWNLOAD_COMPLETE = "onBtDownloadComplete"; +const std::string Notifier::ON_DOWNLOAD_START = "aria2.onDownloadStart"; +const std::string Notifier::ON_DOWNLOAD_PAUSE = "aria2.onDownloadPause"; +const std::string Notifier::ON_DOWNLOAD_STOP = "aria2.onDownloadStop"; +const std::string Notifier::ON_DOWNLOAD_COMPLETE = "aria2.onDownloadComplete"; +const std::string Notifier::ON_DOWNLOAD_ERROR = "aria2.onDownloadError"; +const std::string Notifier::ON_BT_DOWNLOAD_COMPLETE = + "aria2.onBtDownloadComplete"; void Notifier::notifyDownloadEvent (const std::string& event, const RequestGroup* group)