new PIP
This commit is contained in:
@@ -387,7 +387,7 @@ void CDCore::xTimerTick() {
|
||||
|
||||
void CDCore::piCoutFinished(int id, PIString * buffer) {
|
||||
if (!buffer || !(id == 1)) return;
|
||||
PIString sp = buffer->takeRange("[", "]");
|
||||
PIString sp = buffer->takeRange('[', ']');
|
||||
PIDeque<int> p = CDCore::stringToPath(sp);
|
||||
sendMessage(m_[p], Log, *buffer);
|
||||
delete buffer;
|
||||
|
||||
@@ -95,7 +95,7 @@ CDSection CDParser::parse(PIIODevice * d, int cdsection_type) {
|
||||
content = PIString::fromUTF8((const char *)c.data());
|
||||
}
|
||||
if (PIStringAscii(d->className()) == PIStringAscii("PIIOString")) content = *(((PIIOString *)d)->string());
|
||||
if (PIStringAscii(d->className()) == PIStringAscii("PIIOByteArray")) content = PIString(*(((PIIOByteArray *)d)->byteArray()));
|
||||
if (PIStringAscii(d->className()) == PIStringAscii("PIIOByteArray")) content = PIString::fromUTF8(*(((PIIOByteArray *)d)->byteArray()));
|
||||
PIIOString ios(&content);
|
||||
// int phase = 0;
|
||||
int cind = -1;
|
||||
|
||||
Reference in New Issue
Block a user