Revision 5ed2eea9
Von martin vor mehr als 15 Jahren hinzugefügt
gui/fox16/fox16_htmlctx.cpp | ||
---|---|---|
|
||
|
||
void FOX16_HtmlCtx::setText(const char *s) {
|
||
GWEN_SYNCIO *sio;
|
||
int rv;
|
||
|
||
sio=GWEN_SyncIo_Memory_fromBuffer((const uint8_t*) s, strlen(s));
|
||
rv=GWEN_XML_ReadFromIo(_context, sio);
|
||
rv=GWEN_XMLContext_ReadFromString(_context, s);
|
||
if (rv<0) {
|
||
DBG_INFO(GWEN_LOGDOMAIN, "here (%d)", rv);
|
||
}
|
||
GWEN_SyncIo_free(sio);
|
||
}
|
||
|
||
|
Auch abrufbar als: Unified diff
FOX16HtmlCtx: Use the convenience functions.
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1746 70169cfe-8b10-0410-8925-dcb4b91034d8