- Improved the speed of IrcServerHandler (and other BasicHandler
[quassel.git] / src / common / types.h
index 9e62ffd..b0dd0d1 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-07 by the Quassel IRC Team                         *
+ *   Copyright (C) 2005-08 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
 
 #include <QString>
 
-typedef uint UserId;    //!< Identifies a core user.
-typedef uint MsgId;     //!< Identifies a message.
-typedef uint BufferId;  //!< Identifies a buffer.
-typedef uint NetworkId; //!< Identifies an IRC Network.
+// FIXME make all ID types quint32 as soon as they all have been replaced
+typedef uint UserId;     //!< Identifies a core user.
+typedef uint MsgId;      //!< Identifies a message.
+typedef uint BufferId;   //!< Identifies a buffer.
+typedef uint NetworkId;  //!< Identifies an IRC Network.
+// IdentityId must be signed!
+typedef qint32 IdentityId; //!< Identifies an identity.
 
 //! Base class for exceptions.
 struct Exception {