Committing a whole bunch of Identity-related stuff that's not actually used yet,
[quassel.git] / src / common / types.h
index c148d62..40ebf2f 100644 (file)
@@ -5,7 +5,7 @@
  *   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.
+typedef quint32 IdentityId; //!< Identifies an identity.
 
 //! Base class for exceptions.
 struct Exception {