Worked much on the Medialib.
This commit is contained in:
parent
28f9bd246b
commit
b7d5afc0ca
18 changed files with 737 additions and 155 deletions
|
@ -261,11 +261,12 @@ XMMSHandler::PropDictToQHash (XMMSResultDict *res)
|
|||
return h;
|
||||
}
|
||||
|
||||
void
|
||||
uint
|
||||
XMMSHandler::medialibQuery (QString q)
|
||||
{
|
||||
XMMSResultDictList *r = m_xmmsc->medialib_select (q.toUtf8 ());
|
||||
r->connect (sigc::mem_fun (this, &XMMSHandler::medialib_select));
|
||||
return r->getCID ();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -278,7 +279,7 @@ XMMSHandler::medialib_select (XMMSResultDictList *res)
|
|||
l.append (h);
|
||||
}
|
||||
|
||||
emit medialibResponse (l);
|
||||
emit medialibResponse (res->getCID (), l);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue