diff options
author | Frans Englich <frans.englich@nokia.com> | 2009-08-17 15:24:34 (GMT) |
---|---|---|
committer | Frans Englich <frans.englich@nokia.com> | 2009-08-17 15:24:34 (GMT) |
commit | 257984d8b8cf31394c4f20070ea045f5ae7fa170 (patch) | |
tree | 274a54cf0ab767db12070ad8319deb66bc1e2f97 /src/3rdparty/phonon/mmf/mediaobject.h | |
parent | a7b1ad0b2ecdedd5f2a9d52fe09c4497078bc669 (diff) | |
download | Qt-257984d8b8cf31394c4f20070ea045f5ae7fa170.zip Qt-257984d8b8cf31394c4f20070ea045f5ae7fa170.tar.gz Qt-257984d8b8cf31394c4f20070ea045f5ae7fa170.tar.bz2 |
More delegation, basic plumbing.
Diffstat (limited to 'src/3rdparty/phonon/mmf/mediaobject.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/mediaobject.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/3rdparty/phonon/mmf/mediaobject.h b/src/3rdparty/phonon/mmf/mediaobject.h index 9b1e914..a55b6e6 100644 --- a/src/3rdparty/phonon/mmf/mediaobject.h +++ b/src/3rdparty/phonon/mmf/mediaobject.h @@ -21,6 +21,7 @@ along with this library. If not, see <http://www.gnu.org/licenses/>. #include <Phonon/MediaSource> #include <Phonon/MediaObjectInterface> +#include <QScopedPointer> namespace Phonon { @@ -76,7 +77,10 @@ namespace Phonon void tick(qint64 time); private: - AbstractPlayer *m_player; + void loadPlayer(const MediaSource &source); + + QScopedPointer<AbstractPlayer> m_player; + }; } } |