diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/chat-server/post.hpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/src/chat-server/post.hpp b/src/chat-server/post.hpp index f2ec6b7f..bbbd660f 100644 --- a/src/chat-server/post.hpp +++ b/src/chat-server/post.hpp @@ -37,9 +37,9 @@ class Letter { public: /** - * Constructor.
- *
- * Before the letter is stored in the database, the unique Id of the letter
+ * Constructor. + * + * Before the letter is stored in the database, the unique Id of the letter * is 0. * @param type Type of Letter - unused * @param sender Pointer to character that sent the letter @@ -51,25 +51,25 @@ public: * Destructor */ ~Letter(); -
- /**
- * Gets the unique Id of the letter.
- */
- unsigned long getId() const
- { return mId; }
-
- /**
- * Sets the unique Id of the letter used as primary key in the database.
- * @param Id Unique id of the letter.
- */
- void setId(unsigned long Id)
- { mId = Id; }
-
- /**
- * Gets the type of the letter. (unused)
- */
- unsigned int getType(void) const
- { return mType; }
+ + /** + * Gets the unique Id of the letter. + */ + unsigned long getId() const + { return mId; } + + /** + * Sets the unique Id of the letter used as primary key in the database. + * @param Id Unique id of the letter. + */ + void setId(unsigned long Id) + { mId = Id; } + + /** + * Gets the type of the letter. (unused) + */ + unsigned int getType(void) const + { return mType; } /** * Set the expiry @@ -119,7 +119,7 @@ public: std::vector<InventoryItem> getAttachments(); private: - unsigned int mId;
+ unsigned int mId; unsigned int mType; unsigned long mExpiry; std::string mContents; |