git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update python
[enigma2.git]
/
lib
/
service
/
servicemp3.cpp
diff --git
a/lib/service/servicemp3.cpp
b/lib/service/servicemp3.cpp
index a6d19287a04c4a6065a80d06f4964786468ca271..d1c9001dcf71bb0dca668d635351f09cf7b51abb 100644
(file)
--- a/
lib/service/servicemp3.cpp
+++ b/
lib/service/servicemp3.cpp
@@
-9,7
+9,7
@@
// eServiceFactoryMP3
// eServiceFactoryMP3
-eServiceFactoryMP3::eServiceFactoryMP3()
: ref(0)
+eServiceFactoryMP3::eServiceFactoryMP3()
{
ePtr<eServiceCenter> sc;
{
ePtr<eServiceCenter> sc;
@@
-58,7
+58,7
@@
void eServiceMP3::test_end()
stop();
}
stop();
}
-eServiceMP3::eServiceMP3(const char *filename):
ref(0),
filename(filename), test(eApp)
+eServiceMP3::eServiceMP3(const char *filename): filename(filename), test(eApp)
{
m_state = stIdle;
eDebug("SERVICEMP3 construct!");
{
m_state = stIdle;
eDebug("SERVICEMP3 construct!");
@@
-75,7
+75,7
@@
DEFINE_REF(eServiceMP3);
RESULT eServiceMP3::connectEvent(const Slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)
{
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;
}
return 0;
}
@@
-113,7
+113,7
@@
RESULT eServiceMP3::unpause() { printf("mp3 unpauses!\n"); return 0; }
RESULT eServiceMP3::getIServiceInformation(ePtr<iServiceInformation>&i) { i = this; return 0; }
RESULT eServiceMP3::getIServiceInformation(ePtr<iServiceInformation>&i) { i = this; return 0; }
-RESULT eServiceMP3::getName(
eS
tring &name)
+RESULT eServiceMP3::getName(
std::s
tring &name)
{
name = "MP3 File: " + filename;
return 0;
{
name = "MP3 File: " + filename;
return 0;