aboutsummaryrefslogtreecommitdiff
path: root/lib/service/servicemp3.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-05 19:24:42 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-12-05 19:24:42 +0000
commit572caca1ba06dd8247724c9f5d6bcad515e2edf4 (patch)
tree8525a3017c1d58b03b667cd8d77f942318256ddd /lib/service/servicemp3.cpp
parent3c2c648735df18576453aa52f0d8441793619dc7 (diff)
downloadenigma2-572caca1ba06dd8247724c9f5d6bcad515e2edf4.tar.gz
enigma2-572caca1ba06dd8247724c9f5d6bcad515e2edf4.zip
add support for Linkage services ( Premiere Subservices )
TODO: show/hide green point depending on avail subservices
Diffstat (limited to 'lib/service/servicemp3.cpp')
-rw-r--r--lib/service/servicemp3.cpp29
1 files changed, 21 insertions, 8 deletions
diff --git a/lib/service/servicemp3.cpp b/lib/service/servicemp3.cpp
index 8f999471..7bd4244f 100644
--- a/lib/service/servicemp3.cpp
+++ b/lib/service/servicemp3.cpp
@@ -146,17 +146,30 @@ RESULT eServiceMP3::stop()
return 0;
}
-RESULT eServiceMP3::pause(ePtr<iPauseableService> &ptr) { ptr=this; return 0; }
-RESULT eServiceMP3::seek(ePtr<iSeekableService> &ptr) { ptr = 0; return -1; }
-
-RESULT eServiceMP3::frontendStatusInfo(ePtr<iFrontendStatusInformation> &ptr) { ptr = 0; return -1; }
-RESULT eServiceMP3::audioTracks(ePtr<iAudioTrackSelection> &ptr) { ptr = 0; return -1; };
+RESULT eServiceMP3::pause(ePtr<iPauseableService> &ptr)
+{
+ ptr=this;
+ return 0;
+}
// iPausableService
-RESULT eServiceMP3::pause() { printf("mp3 pauses!\n"); return 0; }
-RESULT eServiceMP3::unpause() { printf("mp3 unpauses!\n"); return 0; }
+RESULT eServiceMP3::pause()
+{
+ printf("mp3 pauses!\n");
+ return 0;
+}
-RESULT eServiceMP3::info(ePtr<iServiceInformation>&i) { i = this; return 0; }
+RESULT eServiceMP3::unpause()
+{
+ printf("mp3 unpauses!\n");
+ return 0;
+}
+
+RESULT eServiceMP3::info(ePtr<iServiceInformation>&i)
+{
+ i = this;
+ return 0;
+}
RESULT eServiceMP3::getName(std::string &name)
{