mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 09:51:22 +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 "";
|
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 CyhookHandler::outPair(std::string _key, std::string _content, bool _next) {
|
||||||
std::string result = "";
|
std::string result = "";
|
||||||
|
@@ -204,6 +204,7 @@ public:
|
|||||||
TOutType outStart(bool single = false);
|
TOutType outStart(bool single = false);
|
||||||
TOutType getOutType();
|
TOutType getOutType();
|
||||||
std::string outIndent();
|
std::string outIndent();
|
||||||
|
std::string outSingle(std::string _content);
|
||||||
std::string outPair(std::string _key, std::string _content, bool _next);
|
std::string outPair(std::string _key, std::string _content, bool _next);
|
||||||
std::string outArray(std::string _key, std::string _content);
|
std::string outArray(std::string _key, std::string _content);
|
||||||
std::string outArrayItem(std::string _key, std::string _content, bool _next);
|
std::string outArrayItem(std::string _key, std::string _content, bool _next);
|
||||||
|
Reference in New Issue
Block a user