From 3a4c10272436374bb0992e7a225fb1f4a716cc5d Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 9 Oct 2008 18:14:16 -0700 Subject: Having Lua interfering with the MailHandler now, and switching the MailProcessing to a background task. --- include/MailServer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/MailServer.h b/include/MailServer.h index 296ba50..f3444b6 100644 --- a/include/MailServer.h +++ b/include/MailServer.h @@ -32,8 +32,8 @@ class MailHandler : public Base { public: MailHandler(); virtual ~MailHandler(); - virtual bool doProcessMail(Handle * in, const String & from, std::vector tos) = 0; - static bool ProcessMail(Handle * in, const String & from, std::vector tos); + virtual Task * doProcessMail(Handle * in, const String & from, std::vector tos) = 0; + static Task * ProcessMail(Handle * in, const String & from, std::vector tos); void OnTop(); private: static MailHandler * head; -- cgit v1.2.3