mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
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:
@@ -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 = "";
|
||||
|
@@ -204,6 +204,7 @@ public:
|
||||
TOutType outStart(bool single = false);
|
||||
TOutType getOutType();
|
||||
std::string outIndent();
|
||||
std::string outSingle(std::string _content);
|
||||
std::string outPair(std::string _key, std::string _content, bool _next);
|
||||
std::string outArray(std::string _key, std::string _content);
|
||||
std::string outArrayItem(std::string _key, std::string _content, bool _next);
|
||||
|
Reference in New Issue
Block a user