RESULT eServiceMP3::connectEvent(const Slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)
{
- connection = new eConnection(this, m_event.connect(event));
+ connection = new eConnection((iPlayableService*)this, m_event.connect(event));
return 0;
}
RESULT eServiceMP3::getIServiceInformation(ePtr<iServiceInformation>&i) { i = this; return 0; }
-RESULT eServiceMP3::getName(eString &name)
+RESULT eServiceMP3::getName(std::string &name)
{
name = "MP3 File: " + filename;
return 0;