From e16249b1a4866bc6de226b0253f3932f5642598c Mon Sep 17 00:00:00 2001 From: Nomango <569629550@qq.com> Date: Sat, 21 Jul 2018 13:18:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=9A=E6=97=B6=E5=99=A8?= =?UTF-8?q?=E7=9A=84=E6=B3=A8=E9=87=8A=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/e2dtool.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/core/e2dtool.h b/core/e2dtool.h index 803165e6..08a4921c 100644 --- a/core/e2dtool.h +++ b/core/e2dtool.h @@ -272,14 +272,14 @@ class Task : public: explicit Task( const Function& func, /* 执行函数 */ - const String& name = L"" /* 定时器名称 */ + const String& name = L"" /* 任务名称 */ ); explicit Task( const Function& func, /* 执行函数 */ double delay, /* 时间间隔(秒) */ int times = -1, /* 执行次数(设 -1 为永久执行) */ - const String& name = L"" /* 定时器名称 */ + const String& name = L"" /* 任务名称 */ ); // 暂停任务 @@ -330,19 +330,19 @@ public: Task * task ); - // 继续具有相同名称的任务 + // 继续任务 void resumeTasks( - const String& name + const String& taskName ); - // 暂停具有相同名称的任务 + // 暂停任务 void pauseTasks( - const String& name + const String& taskName ); - // 移除具有相同名称的任务 + // 移除任务 void removeTasks( - const String& name + const String& taskName ); // 继续所有任务