Forgot to remove some obsolete stuff.
[quassel.git] / src / common / types.h
index c148d62..b0dd0d1 100644 (file)
@@ -1,11 +1,11 @@
 /***************************************************************************
- *   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  *
  *   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.                                   *
+ *   (at your option) version 3.                                           *
  *                                                                         *
  *   This program is distributed in the hope that it will be useful,       *
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
 #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 {