From 75007aa80e74adb3daa9aec9a3f78fb80d00205a Mon Sep 17 00:00:00 2001 From: lotodore Date: Mon, 17 Aug 2009 22:54:01 +0000 Subject: [PATCH] Adding missing files. --- src/net/chatcleanercallback.h | 35 ++++++++++++++++++++++++++ src/net/common/chatcleanercallback.cpp | 26 +++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 src/net/chatcleanercallback.h create mode 100644 src/net/common/chatcleanercallback.cpp diff --git a/src/net/chatcleanercallback.h b/src/net/chatcleanercallback.h new file mode 100644 index 00000000..e116cc9a --- /dev/null +++ b/src/net/chatcleanercallback.h @@ -0,0 +1,35 @@ +/*************************************************************************** + * Copyright (C) 2009 by Lothar May * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ +/* Callback interface for the chatcleaner. */ + +#ifndef _CHATCLEANERCALLBACK_H_ +#define _CHATCLEANERCALLBACK_H_ + +#include + + +class ChatCleanerCallback +{ +public: + virtual ~ChatCleanerCallback(); + + virtual void SignalChatBotMessage(const std::string &msg) = 0; +}; + +#endif diff --git a/src/net/common/chatcleanercallback.cpp b/src/net/common/chatcleanercallback.cpp new file mode 100644 index 00000000..dff42b59 --- /dev/null +++ b/src/net/common/chatcleanercallback.cpp @@ -0,0 +1,26 @@ +/*************************************************************************** + * Copyright (C) 2009 by Lothar May * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include + + +ChatCleanerCallback::~ChatCleanerCallback() +{ +} +