X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Ftypes.h;h=b0dd0d132398bb234f04aa6462b8576eecf2c46a;hb=1989f165c2b754a42d3f06dfb5c33afd6111d820;hp=9e62ffd830c418d52a45a3a7dccf4371a8805979;hpb=d6b056e936ec441258d291b7a8af7b83f9f53016;p=quassel.git diff --git a/src/common/types.h b/src/common/types.h index 9e62ffd8..b0dd0d13 100644 --- a/src/common/types.h +++ b/src/common/types.h @@ -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 * @@ -23,10 +23,13 @@ #include -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 {