summaryrefslogtreecommitdiff
path: root/include/membership.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-24 20:03:53 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-24 20:03:53 +0000
commit6b2ea833674bb3bfedb0f2e2af06efa25655e5f5 (patch)
treeeed4cba6bd5b019ffd33f2e46ddb8b129d2d732d /include/membership.h
parent68e8a75daf6933d7ec4a3bd21cf12ed1ac880739 (diff)
Move forward declarations to typedefs.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11967 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/membership.h')
-rw-r--r--include/membership.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/include/membership.h b/include/membership.h
index 458c7efc4..c92933ba8 100644
--- a/include/membership.h
+++ b/include/membership.h
@@ -14,11 +14,9 @@
#ifndef __MEMBERSHIP_H__
#define __MEMBERSHIP_H__
-class User;
-class Channel;
-
-struct CoreExport Membership : public Extensible
+class CoreExport Membership : public Extensible
{
+ public:
User* const user;
Channel* const chan;
// mode list, sorted by prefix rank, higest first
@@ -31,10 +29,4 @@ struct CoreExport Membership : public Extensible
unsigned int getRank();
};
-CoreExport typedef std::map<User*, Membership*> UserMembList;
-CoreExport typedef UserMembList::iterator UserMembIter;
-CoreExport typedef UserMembList::const_iterator UserMembCIter;
-
-CoreExport typedef std::set<User*> CUList;
-
#endif