diff options
author | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-10-07 15:51:52 (GMT) |
---|---|---|
committer | Gareth Stockwell <gareth.stockwell@sosco.com> | 2009-10-09 06:46:50 (GMT) |
commit | de36243273661c5844d417793f02c8db4a5b5da9 (patch) | |
tree | 38d2c056f8ee3169b7435a352672e4fe5ca99e4c /src/3rdparty/phonon/mmf/mmf_videoplayer.h | |
parent | 5695b50d2f21e94e8c284148367d2656d1158722 (diff) | |
download | Qt-de36243273661c5844d417793f02c8db4a5b5da9.zip Qt-de36243273661c5844d417793f02c8db4a5b5da9.tar.gz Qt-de36243273661c5844d417793f02c8db4a5b5da9.tar.bz2 |
Simplified handling of native window information in VideoPlayer
Now retrieve RWsSession and CScreenDevice from CCoeEnv::Static() once
(at construction), instead of at every call to
getNativeWindowSystemHandles().
Collapsed m_screenRect and m_clipRect into a single m_rect member,
since the two rectangles are always identical anyway.
Reviewed-by: Frans Englich
Diffstat (limited to 'src/3rdparty/phonon/mmf/mmf_videoplayer.h')
-rw-r--r-- | src/3rdparty/phonon/mmf/mmf_videoplayer.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/3rdparty/phonon/mmf/mmf_videoplayer.h b/src/3rdparty/phonon/mmf/mmf_videoplayer.h index ee3650a..29e0839 100644 --- a/src/3rdparty/phonon/mmf/mmf_videoplayer.h +++ b/src/3rdparty/phonon/mmf/mmf_videoplayer.h @@ -88,12 +88,11 @@ private: QScopedPointer<CVideoPlayerUtility> m_player; // Not owned - RWsSession* m_wsSession; - CWsScreenDevice* m_screenDevice; + RWsSession& m_wsSession; + CWsScreenDevice& m_screenDevice; RWindowBase* m_window; - TRect m_windowRect; - TRect m_clipRect; - + TRect m_rect; + QSize m_frameSize; qint64 m_totalTime; |