summaryrefslogtreecommitdiffstats
path: root/iniFile
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-26 10:33:28 +0200
committermadmaxoft <github@xoft.cz>2013-10-26 10:33:28 +0200
commitc15bc1512162d323b893aeab85f78e3407dff7de (patch)
treebb6e4db5ac8078d197a15c479c305fac9dd0eafa /iniFile
parentChunkWorx: Updated for the cIniFile changes. (diff)
downloadcuberite-c15bc1512162d323b893aeab85f78e3407dff7de.tar
cuberite-c15bc1512162d323b893aeab85f78e3407dff7de.tar.gz
cuberite-c15bc1512162d323b893aeab85f78e3407dff7de.tar.bz2
cuberite-c15bc1512162d323b893aeab85f78e3407dff7de.tar.lz
cuberite-c15bc1512162d323b893aeab85f78e3407dff7de.tar.xz
cuberite-c15bc1512162d323b893aeab85f78e3407dff7de.tar.zst
cuberite-c15bc1512162d323b893aeab85f78e3407dff7de.zip
Diffstat (limited to '')
-rw-r--r--iniFile/iniFile.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/iniFile/iniFile.h b/iniFile/iniFile.h
index 223e0237f..83d961fc6 100644
--- a/iniFile/iniFile.h
+++ b/iniFile/iniFile.h
@@ -153,19 +153,19 @@ public:
// Header comment functions.
// Header comments are those comments before the first key.
- /// Get number of header comments
+ /// Returns the number of header comments
int GetNumHeaderComments(void) {return (int)comments.size();}
- /// Add a header comment
+ /// Adds a header comment
void AddHeaderComment(const AString & comment);
- /// Return a header comment
+ /// Returns a header comment, or empty string if out of range
AString GetHeaderComment(const int commentID) const;
- /// Delete a header comment.
+ /// Deletes a header comment. Returns true if successful
bool DeleteHeaderComment(int commentID);
- /// Delete all header comments.
+ /// Deletes all header comments
void DeleteHeaderComments(void) {comments.clear();}