diff options
Diffstat (limited to 'plugins/StopSpamPlus/src/eventhooker.cpp')
-rw-r--r-- | plugins/StopSpamPlus/src/eventhooker.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/StopSpamPlus/src/eventhooker.cpp b/plugins/StopSpamPlus/src/eventhooker.cpp index 56493eaa76..a7ddd04d3f 100644 --- a/plugins/StopSpamPlus/src/eventhooker.cpp +++ b/plugins/StopSpamPlus/src/eventhooker.cpp @@ -1,16 +1,16 @@ -/* eventhooker.cpp
+/* eventhooker.cpp
* Copyright (C) Miklashevsky Roman
*
* 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.
@@ -25,7 +25,7 @@ namespace miranda std::list<EventHooker*> eventHookerList;
}
- EventHooker::EventHooker(std::string name, MIRANDAHOOK fun) : name_(name), fun_(fun), handle_(0)
+ EventHooker::EventHooker(std::string name, MIRANDAHOOK fun) : name_(name), fun_(fun), handle_(0)
{
eventHookerList.push_back(this);
}
@@ -35,7 +35,7 @@ namespace miranda eventHookerList.remove(this);
}
- void EventHooker::Hook()
+ void EventHooker::Hook()
{
handle_ = HookEvent(name_.c_str(), fun_);
}
@@ -51,7 +51,7 @@ namespace miranda void EventHooker::HookAll()
{
- for(std::list<EventHooker*>::iterator it = eventHookerList.begin(); it != eventHookerList.end(); ++it)
+ for (std::list<EventHooker*>::iterator it = eventHookerList.begin(); it != eventHookerList.end(); ++it)
{
(*it)->Hook();
}
@@ -59,7 +59,7 @@ namespace miranda void EventHooker::UnhookAll()
{
- for(std::list<EventHooker*>::iterator it = eventHookerList.begin(); it != eventHookerList.end(); ++it)
+ for (std::list<EventHooker*>::iterator it = eventHookerList.begin(); it != eventHookerList.end(); ++it)
{
(*it)->Unhook();
}
|