diff options
Diffstat (limited to 'avmedia/inc/avmedia/mediaplayer.hxx')
-rw-r--r-- | avmedia/inc/avmedia/mediaplayer.hxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/avmedia/inc/avmedia/mediaplayer.hxx b/avmedia/inc/avmedia/mediaplayer.hxx index 2c2704a5e657..175719a8f419 100644 --- a/avmedia/inc/avmedia/mediaplayer.hxx +++ b/avmedia/inc/avmedia/mediaplayer.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -37,10 +37,10 @@ // - Defines - // ----------- -#define AVMEDIA_MEDIAWINDOW() \ -(static_cast< ::avmedia::MediaFloater* >( ( \ -SfxViewFrame::Current() && SfxViewFrame::Current()->GetChildWindow(::avmedia::MediaPlayer::GetChildWindowId())) ? \ -SfxViewFrame::Current()->GetChildWindow(::avmedia::MediaPlayer::GetChildWindowId())->GetWindow() : \ +#define AVMEDIA_MEDIAWINDOW() \ +(static_cast< ::avmedia::MediaFloater* >( ( \ +SfxViewFrame::Current() && SfxViewFrame::Current()->GetChildWindow(::avmedia::MediaPlayer::GetChildWindowId())) ? \ +SfxViewFrame::Current()->GetChildWindow(::avmedia::MediaPlayer::GetChildWindowId())->GetWindow() : \ NULL)) namespace avmedia @@ -67,29 +67,29 @@ class MediaWindow; class MediaFloater : public SfxDockingWindow { -public: +public: MediaFloater( SfxBindings* pBindings, SfxChildWindow* pCW, Window* pParent ); ~MediaFloater(); - void setURL( const ::rtl::OUString& rURL, bool bPlayImmediately ); - const ::rtl::OUString& getURL() const; + void setURL( const ::rtl::OUString& rURL, bool bPlayImmediately ); + const ::rtl::OUString& getURL() const; - void dispatchCurrentURL(); + void dispatchCurrentURL(); protected: - virtual void Resize(); - virtual void ToggleFloatingMode(); + virtual void Resize(); + virtual void ToggleFloatingMode(); private: - MediaWindow* mpMediaWindow; - Size maLastSize; - long mnDummy1; - long mnDummy2; + MediaWindow* mpMediaWindow; + Size maLastSize; + long mnDummy1; + long mnDummy2; - void implInit(); + void implInit(); }; } |