diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-29 22:44:53 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-29 22:44:53 +0000 |
| commit | 0c59a4279f93f08fe95fca5f2e55f3e025f0cceb (patch) | |
| tree | 71e8c11f2a5487afe84d637d388d3cb060bc9ad5 /lib/service/servicemp3.h | |
| parent | 4edb65fafb64b52007598e05a1e5b16b75ea752c (diff) | |
| download | enigma2-0c59a4279f93f08fe95fca5f2e55f3e025f0cceb.tar.gz enigma2-0c59a4279f93f08fe95fca5f2e55f3e025f0cceb.zip | |
also use refcounting for eTimers
its now no more possible directly to call new eTimer .. or to embedded
eTimer.
to create a eTimer now eTimer::create must be used... to delete you must
call ->AddRef() after timer creation and ->Release when the timer is no more
needed. Or use ePtr<eTimer> to store the timer reference.. then its enough
to set the ePtr<eTimer> object to 0 when the timer is no more needed
Diffstat (limited to 'lib/service/servicemp3.h')
| -rw-r--r-- | lib/service/servicemp3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/service/servicemp3.h b/lib/service/servicemp3.h index ae12c33a..a43c8ad9 100644 --- a/lib/service/servicemp3.h +++ b/lib/service/servicemp3.h @@ -153,7 +153,7 @@ private: std::vector<subtitleStream> m_subtitleStreams; eSubtitleWidget *m_subtitle_widget; int m_currentTrickRatio; - eTimer m_seekTimeout; + ePtr<eTimer> m_seekTimeout; void seekTimeoutCB(); friend class eServiceFactoryMP3; std::string m_filename; |
