diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-11 16:23:54 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-11-11 16:23:54 +0100 |
commit | b7e5399562ee44898d9478f1372e77c3a7cfa56e (patch) | |
tree | 5d95c9199e4ff8bc6ad7106a61080372dff31c77 /src | |
parent | 2dfa75e982a1d82253fbb9975b06d1f7b6259b9a (diff) | |
download | manaserv-b7e5399562ee44898d9478f1372e77c3a7cfa56e.tar.gz manaserv-b7e5399562ee44898d9478f1372e77c3a7cfa56e.tar.bz2 manaserv-b7e5399562ee44898d9478f1372e77c3a7cfa56e.tar.xz manaserv-b7e5399562ee44898d9478f1372e77c3a7cfa56e.zip |
Removed some DOS newlines from mixed files
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; |