yhook: new outSingle() function, that just adds a linefeed to content

Origin commit data
------------------
Commit: 922cc72abf
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-22 (Mon, 22 Feb 2016)

Origin message was:
------------------
- yhook: new outSingle() function, that just adds a linefeed to content
This commit is contained in:
vanhofen
2016-02-22 23:51:37 +01:00
parent 4a4f6a43a1
commit f54ee2c170
2 changed files with 6 additions and 0 deletions

View File

@@ -424,6 +424,11 @@ std::string CyhookHandler::outIndent() {
return "";
}
//-----------------------------------------------------------------------------
std::string CyhookHandler::outSingle(std::string _content) {
return _content + "\n";
}
//-----------------------------------------------------------------------------
std::string CyhookHandler::outPair(std::string _key, std::string _content, bool _next) {
std::string result = "";