mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
- 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