From a1f073f66f4b985bf776b9be2015136209c0c311 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 27 Jul 2006 19:40:47 +0000 Subject: Change std::pair to neater typedef "ModePair" git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4557 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modes/cmode_b.h | 1 + include/modes/cmode_h.h | 2 +- include/modes/cmode_k.h | 2 +- include/modes/cmode_l.h | 2 +- include/modes/cmode_o.h | 2 +- include/modes/cmode_v.h | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) (limited to 'include/modes') diff --git a/include/modes/cmode_b.h b/include/modes/cmode_b.h index df638005e..34b90c9b9 100644 --- a/include/modes/cmode_b.h +++ b/include/modes/cmode_b.h @@ -11,5 +11,6 @@ class ModeChannelBan : public ModeHandler std::string& AddBan(userrec *user,std::string& dest,chanrec *chan,int status); std::string& DelBan(userrec *user,std::string& dest,chanrec *chan,int status); void DisplayList(userrec* user, chanrec* channel); + ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); }; diff --git a/include/modes/cmode_h.h b/include/modes/cmode_h.h index 963052180..eaf2149af 100644 --- a/include/modes/cmode_h.h +++ b/include/modes/cmode_h.h @@ -9,6 +9,6 @@ class ModeChannelHalfOp : public ModeHandler ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); std::string AddHalfOp(userrec *user,const char *dest,chanrec *chan,int status); std::string DelHalfOp(userrec *user,const char *dest,chanrec *chan,int status); - std::pair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); + ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); }; diff --git a/include/modes/cmode_k.h b/include/modes/cmode_k.h index 94a317df0..8434fc5c4 100644 --- a/include/modes/cmode_k.h +++ b/include/modes/cmode_k.h @@ -5,6 +5,6 @@ class ModeChannelKey : public ModeHandler public: ModeChannelKey(); ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); - std::pair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); + ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, chanrec* channel); }; diff --git a/include/modes/cmode_l.h b/include/modes/cmode_l.h index 886ece324..69c132e56 100644 --- a/include/modes/cmode_l.h +++ b/include/modes/cmode_l.h @@ -5,6 +5,6 @@ class ModeChannelLimit : public ModeHandler public: ModeChannelLimit(); ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); - std::pair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); + ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); bool CheckTimeStamp(time_t theirs, time_t ours, const std::string &their_param, const std::string &our_param, chanrec* channel); }; diff --git a/include/modes/cmode_o.h b/include/modes/cmode_o.h index ad34f501c..ff166b5e2 100644 --- a/include/modes/cmode_o.h +++ b/include/modes/cmode_o.h @@ -9,6 +9,6 @@ class ModeChannelOp : public ModeHandler ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); std::string AddOp(userrec *user,const char *dest,chanrec *chan,int status); std::string DelOp(userrec *user,const char *dest,chanrec *chan,int status); - std::pair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); + ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); }; diff --git a/include/modes/cmode_v.h b/include/modes/cmode_v.h index f61f183c5..3e747ca9d 100644 --- a/include/modes/cmode_v.h +++ b/include/modes/cmode_v.h @@ -9,6 +9,6 @@ class ModeChannelVoice : public ModeHandler ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); std::string AddVoice(userrec *user,const char *dest,chanrec *chan,int status); std::string DelVoice(userrec *user,const char *dest,chanrec *chan,int status); - std::pair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); + ModePair ModeSet(userrec* source, userrec* dest, chanrec* channel, const std::string ¶meter); }; -- cgit v1.2.3