diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 18:54:02 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 14:41:41 -0600 |
commit | fcbefea01766e0888f7813672d9eddbdec5a9046 (patch) | |
tree | 8861652061bb2189350824217c98a259a9a9d2ec /framework/inc/dispatch | |
parent | a395c9fa387eabf2d09360f1023f5e3e66af21a8 (diff) |
Remove visual noise from framework
Conflicts:
framework/inc/dispatch/oxt_handler.hxx
framework/inc/services/layoutmanager.hxx
framework/inc/tabwin/tabwindow.hxx
framework/source/dispatch/menudispatcher.cxx
framework/source/helper/dockingareadefaultacceptor.cxx
framework/source/helper/ocomponentaccess.cxx
framework/source/helper/ocomponentenumeration.cxx
framework/source/helper/oframes.cxx
framework/source/layoutmanager/toolbarlayoutmanager.hxx
framework/source/recording/dispatchrecorder.cxx
framework/source/services/desktop.cxx
framework/source/services/frame.cxx
framework/source/services/urltransformer.cxx
Change-Id: Ibb04e3f6f0796e7f2be16dcce38542f8b90708d4
Reviewed-on: https://gerrit.libreoffice.org/8265
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'framework/inc/dispatch')
-rw-r--r-- | framework/inc/dispatch/closedispatcher.hxx | 52 | ||||
-rw-r--r-- | framework/inc/dispatch/dispatchinformationprovider.hxx | 8 | ||||
-rw-r--r-- | framework/inc/dispatch/interceptionhelper.hxx | 28 | ||||
-rw-r--r-- | framework/inc/dispatch/menudispatcher.hxx | 52 | ||||
-rw-r--r-- | framework/inc/dispatch/oxt_handler.hxx | 36 | ||||
-rw-r--r-- | framework/inc/dispatch/popupmenudispatcher.hxx | 8 | ||||
-rw-r--r-- | framework/inc/dispatch/startmoduledispatcher.hxx | 36 |
7 files changed, 109 insertions, 111 deletions
diff --git a/framework/inc/dispatch/closedispatcher.hxx b/framework/inc/dispatch/closedispatcher.hxx index 05f694ea51e8..f5cdb15c0e28 100644 --- a/framework/inc/dispatch/closedispatcher.hxx +++ b/framework/inc/dispatch/closedispatcher.hxx @@ -45,7 +45,7 @@ class SystemWindow; namespace framework{ -//----------------------------------------------- + /** @short helper to dispatch the URLs ".uno:CloseDoc"/".uno:CloseWin"/".uno:CloseFrame" to close a frame/document or the whole application implicitly in case it was the last frame @@ -62,12 +62,12 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali css::frame::XNotifyingDispatch, // => XDispatch css::frame::XDispatchInformationProvider > { - //------------------------------------------- + // types private: - //--------------------------------------- + /** @short describe, which request must be done here. @descr The incoming URLs {.uno:CloseDoc/CloseWin and CloseFrame can be classified so and checked later performant.}*/ @@ -78,53 +78,53 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali E_CLOSE_WIN }; - //------------------------------------------- + // member private: - //--------------------------------------- + /** @short reference to an uno service manager, which can be used to create own needed uno resources. */ css::uno::Reference< css::uno::XComponentContext > m_xContext; - //--------------------------------------- + /** @short reference to the target frame, which should be closed by this dispatch. */ css::uno::WeakReference< css::frame::XFrame > m_xCloseFrame; - //--------------------------------------- + /** @short used for asynchronous callbacks within the main thread. @descr Internally we work asynchronous. Because our callis are not aware, that her request can kill its own environment ... */ ::vcl::EventPoster m_aAsyncCallback; - //--------------------------------------- + /** @short used inside asyncronous callback to decide, which operation must be executed. */ EOperation m_eOperation; - //--------------------------------------- + /** @short for asynchronous operations we must hold us self alive! */ css::uno::Reference< css::uno::XInterface > m_xSelfHold; - //--------------------------------------- + /** @short list of registered status listener */ ListenerHash m_lStatusListener; - //--------------------------------------- + /** @short holded alive for internally asynchronous operations! */ css::uno::Reference< css::frame::XDispatchResultListener > m_xResultListener; SystemWindow* m_pSysWindow; - //------------------------------------------- + // native interface public: - //--------------------------------------- + /** @short connect a new CloseDispatcher instance to its frame. @descr One CloseDispatcher instance is bound to onw frame only. That makes an implementation (e.g. of listener support) @@ -144,22 +144,22 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali const css::uno::Reference< css::frame::XFrame >& xFrame , const OUString& sTarget); - //--------------------------------------- + /** @short does nothing real. */ virtual ~CloseDispatcher(); - //------------------------------------------- + // uno interface public: - //--------------------------------------- + // XNotifyingDispatch virtual void SAL_CALL dispatchWithNotification( const css::util::URL& aURL , const css::uno::Sequence< css::beans::PropertyValue >& lArguments, const css::uno::Reference< css::frame::XDispatchResultListener >& xListener ) throw(css::uno::RuntimeException, std::exception); - //--------------------------------------- + // XDispatch virtual void SAL_CALL dispatch ( const css::util::URL& aURL , const css::uno::Sequence< css::beans::PropertyValue >& lArguments) throw(css::uno::RuntimeException, std::exception); @@ -168,17 +168,17 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali virtual void SAL_CALL removeStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xListener , const css::util::URL& aURL ) throw(css::uno::RuntimeException, std::exception); - //--------------------------------------- + // XDispatchInformationProvider virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedCommandGroups ( ) throw (css::uno::RuntimeException, std::exception); virtual css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation( sal_Int16 nCommandGroup ) throw (css::uno::RuntimeException, std::exception); - //------------------------------------------- + // internal helper private: - //--------------------------------------- + /** @short a callback for asynchronous started operations. @descr As already mentione, we make internally all operations @@ -187,7 +187,7 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali */ DECL_LINK( impl_asyncCallback, void* ); - //--------------------------------------- + /** @short prepare m_xCloseFrame so it should be closeable without problems. @descr Thats needed to be shure, that the document cant disagree @@ -213,7 +213,7 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali sal_Bool bCloseAllOtherViewsToo, sal_Bool& bControllerSuspended ); - //--------------------------------------- + /** @short close the member m_xCloseFrame. @descr This method does not look for any document @@ -230,7 +230,7 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali */ sal_Bool implts_closeFrame(); - //--------------------------------------- + /** @short set the special BackingComponent (now StartModule) as new component of our m_xCloseFrame. @@ -239,7 +239,7 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali */ sal_Bool implts_establishBackingMode(); - //--------------------------------------- + /** @short calls XDesktop->terminate(). @descr No office code has to be called @@ -253,7 +253,7 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali */ sal_Bool implts_terminateApplication(); - //--------------------------------------- + /** @short notify a DispatchResultListener. @descr We check the listener reference before we use it. @@ -273,7 +273,7 @@ class CloseDispatcher : // baseclasses ... order is necessary for right initiali sal_Int16 nState , const css::uno::Any& aResult ); - //--------------------------------------- + /** @short try to find the right target frame where this close request must be really done. diff --git a/framework/inc/dispatch/dispatchinformationprovider.hxx b/framework/inc/dispatch/dispatchinformationprovider.hxx index 36fe400dcc39..1f5fcb23c9f4 100644 --- a/framework/inc/dispatch/dispatchinformationprovider.hxx +++ b/framework/inc/dispatch/dispatchinformationprovider.hxx @@ -36,20 +36,20 @@ namespace framework{ -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short a helper to merge dispatch information of different sources together. *//*-*************************************************************************************************************/ class DispatchInformationProvider : private ThreadHelpBase , public ::cppu::WeakImplHelper1< css::frame::XDispatchInformationProvider > { - //_______________________ + // member private: css::uno::Reference< css::uno::XComponentContext > m_xContext; css::uno::WeakReference< css::frame::XFrame > m_xFrame; - //_______________________ + // interface public: @@ -64,7 +64,7 @@ class DispatchInformationProvider : private ThreadHelpBase virtual css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation(sal_Int16 nCommandGroup) throw (css::uno::RuntimeException, std::exception); - //_______________________ + // helper private: diff --git a/framework/inc/dispatch/interceptionhelper.hxx b/framework/inc/dispatch/interceptionhelper.hxx index 55c630ce3f89..2f2162e5a92a 100644 --- a/framework/inc/dispatch/interceptionhelper.hxx +++ b/framework/inc/dispatch/interceptionhelper.hxx @@ -55,7 +55,7 @@ class InterceptionHelper : // order of base classes is important for right initi css::frame::XDispatchProviderInterception, css::lang::XEventListener > { - //_____________________________________________________ + // structs, helper /** @short bind an interceptor component to it's URL pattern registration. */ @@ -73,7 +73,7 @@ class InterceptionHelper : // order of base classes is important for right initi css::uno::Sequence< OUString > lURLPattern; }; - //_____________________________________________________ + /** @short implements a list of items of type InterceptorInfo, and provides some special functions on it. @@ -85,7 +85,7 @@ class InterceptionHelper : // order of base classes is important for right initi { public: - //_____________________________________________ + /** @short search for an interceptor inside this list using it's reference. @@ -107,7 +107,7 @@ class InterceptionHelper : // order of base classes is important for right initi return end(); } - //_____________________________________________ + /** @short search for an interceptor inside this list using it's reference. @@ -136,7 +136,7 @@ class InterceptionHelper : // order of base classes is important for right initi } }; - //_____________________________________________________ + // member private: @@ -157,12 +157,12 @@ class InterceptionHelper : // order of base classes is important for right initi The last or the first registered one. */ static sal_Bool m_bPreferrFirstInterceptor; - //_____________________________________________________ + // native interface public: - //_________________________________________________ + /** @short creates a new interception helper instance. @@ -177,7 +177,7 @@ class InterceptionHelper : // order of base classes is important for right initi protected: - //_________________________________________________ + /** @short standard destructor. @@ -187,12 +187,12 @@ class InterceptionHelper : // order of base classes is important for right initi */ virtual ~InterceptionHelper(); - //_____________________________________________________ + // uno interface public: - //_________________________________________________ + // XDispatchProvider /** @short query for a dispatch, which implements the requested feature. @@ -220,7 +220,7 @@ class InterceptionHelper : // order of base classes is important for right initi sal_Int32 nSearchFlags ) throw(css::uno::RuntimeException, std::exception); - //_________________________________________________ + // XDispatchProvider /** @short implements an optimized queryDispatch() for remote. @@ -237,7 +237,7 @@ class InterceptionHelper : // order of base classes is important for right initi virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches(const css::uno::Sequence< css::frame::DispatchDescriptor >& lDescriptor) throw(css::uno::RuntimeException, std::exception); - //_________________________________________________ + // XDispatchProviderInterception /** @short register an interceptor. @@ -256,7 +256,7 @@ class InterceptionHelper : // order of base classes is important for right initi virtual void SAL_CALL registerDispatchProviderInterceptor(const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& xInterceptor) throw(css::uno::RuntimeException, std::exception); - //_________________________________________________ + // XDispatchProviderInterception /** @short release an interceptor. @@ -271,7 +271,7 @@ class InterceptionHelper : // order of base classes is important for right initi */ virtual void SAL_CALL releaseDispatchProviderInterceptor( const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& xInterceptor ) throw( css::uno::RuntimeException, std::exception ); - //_________________________________________________ + // XEventListener /** @short Is called from our owner frame, in case he will be disposed. diff --git a/framework/inc/dispatch/menudispatcher.hxx b/framework/inc/dispatch/menudispatcher.hxx index 2a9201525024..9cb73ae48aef 100644 --- a/framework/inc/dispatch/menudispatcher.hxx +++ b/framework/inc/dispatch/menudispatcher.hxx @@ -48,7 +48,7 @@ namespace framework{ -/*-************************************************************************************************************//** +/*-************************************************************************************************************ We must save information about our listener and URL for listening. We implement this as a hashtable for strings. *//*-*************************************************************************************************************/ @@ -57,7 +57,7 @@ typedef ::cppu::OMultiTypeInterfaceContainerHelperVar< OUString , OUStringHash > IMPL_ListenerHashContainer; -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short helper for desktop only(!) to create new tasks on demand for dispatches @descr Use this class as member only! Never use it as baseclass. XInterface will be ambigous and we hold a weakcss::uno::Reference to ouer OWNER - not to ouer SUPERCLASS! @@ -80,17 +80,17 @@ class MenuDispatcher : // baseclasses css::frame::XDispatch , css::frame::XFrameActionListener > { - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: - //--------------------------------------------------------------------------------------------------------- + // constructor / destructor - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** + + /*-**************************************************************************************************** @short standard ctor @descr These initialize a new instance of ths class with needed information for work. @@ -106,11 +106,11 @@ class MenuDispatcher : // baseclasses MenuDispatcher( const css::uno::Reference< css::uno::XComponentContext >& rxContext , const css::uno::Reference< css::frame::XFrame >& xOwner ); - //--------------------------------------------------------------------------------------------------------- + // XDispatch - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** + + /*-**************************************************************************************************** @short dispatch URL with arguments @descr Every dispatch create a new task. If load of URL failed task will deleted automaticly! @@ -126,7 +126,7 @@ class MenuDispatcher : // baseclasses virtual void SAL_CALL dispatch( const css::util::URL& aURL , const css::uno::Sequence< css::beans::PropertyValue >& seqProperties ) throw( css::uno::RuntimeException, std::exception ); - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short add listener for state events @descr You can add a listener to get information about status of dispatch: OK or Failed. @@ -143,7 +143,7 @@ class MenuDispatcher : // baseclasses virtual void SAL_CALL addStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xControl, const css::util::URL& aURL ) throw( css::uno::RuntimeException, std::exception ); - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short remove listener for state events @descr You can remove a listener if information of dispatch isn't important for you any longer. @@ -161,17 +161,17 @@ class MenuDispatcher : // baseclasses const css::util::URL& aURL ) throw( css::uno::RuntimeException, std::exception ); - //--------------------------------------------------------------------------------------------------------- + // XFrameActionListener - //--------------------------------------------------------------------------------------------------------- + virtual void SAL_CALL frameAction( const css::frame::FrameActionEvent& aEvent ) throw ( css::uno::RuntimeException, std::exception ); - //--------------------------------------------------------------------------------------------------------- + // XEventListener - //--------------------------------------------------------------------------------------------------------- - /*-****************************************************************************************************//** + + /*-**************************************************************************************************** @short dispose current instance @descr If service helper isn't required any longer call this method to release all used resources. @@ -185,13 +185,13 @@ class MenuDispatcher : // baseclasses void SAL_CALL disposing( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException, std::exception ); - //------------------------------------------------------------------------------------------------------------- + // protected methods - //------------------------------------------------------------------------------------------------------------- + protected: - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short standard destructor @descr This method destruct an instance of this class and clear some member. This method is protected, because its not allowed to use an instance of this class as a member! @@ -207,13 +207,13 @@ class MenuDispatcher : // baseclasses virtual ~MenuDispatcher(); - //------------------------------------------------------------------------------------------------------------- + // private methods - //------------------------------------------------------------------------------------------------------------- + private: - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short - @descr - @@ -227,7 +227,7 @@ class MenuDispatcher : // baseclasses sal_Bool impl_setMenuBar( MenuBar* pMenuBar, sal_Bool bMenuFromResource = sal_False ); - /*-****************************************************************************************************//** + /*-**************************************************************************************************** @short - @descr - @@ -241,10 +241,10 @@ class MenuDispatcher : // baseclasses void impl_setAccelerators( Menu* pMenu, const Accelerator& aAccel ); - //------------------------------------------------------------------------------------------------------------- + // variables // (should be private everyway!) - //------------------------------------------------------------------------------------------------------------- + private: diff --git a/framework/inc/dispatch/oxt_handler.hxx b/framework/inc/dispatch/oxt_handler.hxx index 2ec6b630dc1b..706901fc2c92 100644 --- a/framework/inc/dispatch/oxt_handler.hxx +++ b/framework/inc/dispatch/oxt_handler.hxx @@ -43,7 +43,7 @@ namespace framework{ -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short handler to detect and play sounds ("wav" and "au" only!) @descr Register this implementation as a content handler to detect and/or play wav- and au-sounds. It doesn't depend from the target platform. But one instance of this class @@ -63,32 +63,32 @@ class Oxt_Handler : // baseclasses css::frame::XNotifyingDispatch, // => XDispatch css::document::XExtendedFilterDetection > { - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: - //--------------------------------------------------------------------------------------------------------- + // constructor / destructor - //--------------------------------------------------------------------------------------------------------- + Oxt_Handler( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ); virtual ~Oxt_Handler( ); - //--------------------------------------------------------------------------------------------------------- + // XInterface, XTypeProvider, XServiceInfo - //--------------------------------------------------------------------------------------------------------- + DECLARE_XSERVICEINFO - //--------------------------------------------------------------------------------------------------------- + // XNotifyingDispatch - //--------------------------------------------------------------------------------------------------------- + virtual void SAL_CALL dispatchWithNotification(const css::util::URL& aURL , const css::uno::Sequence< css::beans::PropertyValue >& lArguments, const css::uno::Reference< css::frame::XDispatchResultListener >& xListener ) throw( css::uno::RuntimeException, std::exception ); - //--------------------------------------------------------------------------------------------------------- + // XDispatch - //--------------------------------------------------------------------------------------------------------- + virtual void SAL_CALL dispatch ( const css::util::URL& aURL , const css::uno::Sequence< css::beans::PropertyValue >& lArguments ) throw( css::uno::RuntimeException, std::exception ); // not supported ! @@ -97,25 +97,23 @@ class Oxt_Handler : // baseclasses virtual void SAL_CALL removeStatusListener ( const css::uno::Reference< css::frame::XStatusListener >& /*xListener*/ , const css::util::URL& /*aURL*/ ) throw( css::uno::RuntimeException, std::exception ) {}; - //--------------------------------------------------------------------------------------------------------- + // XExtendedFilterDetection - //--------------------------------------------------------------------------------------------------------- virtual OUString SAL_CALL detect ( css::uno::Sequence< css::beans::PropertyValue >& lDescriptor ) throw( css::uno::RuntimeException, std::exception ); - //------------------------------------------------------------------------------------------------------------- // protected methods - //------------------------------------------------------------------------------------------------------------- + protected: - //------------------------------------------------------------------------------------------------------------- + // private methods - //------------------------------------------------------------------------------------------------------------- + private: - //------------------------------------------------------------------------------------------------------------- + // variables // (should be private everyway!) - //------------------------------------------------------------------------------------------------------------- + private: css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory ; /// global uno service factory to create new services diff --git a/framework/inc/dispatch/popupmenudispatcher.hxx b/framework/inc/dispatch/popupmenudispatcher.hxx index b35fb4c8c11a..8b58855574e5 100644 --- a/framework/inc/dispatch/popupmenudispatcher.hxx +++ b/framework/inc/dispatch/popupmenudispatcher.hxx @@ -50,7 +50,7 @@ namespace framework{ -/*-************************************************************************************************************//** +/*-************************************************************************************************************ We must save information about our listener and URL for listening. We implement this as a hashtable for strings. *//*-*************************************************************************************************************/ @@ -59,7 +59,7 @@ typedef ::cppu::OMultiTypeInterfaceContainerHelperVar< OUString , OUStringHash > IMPL_ListenerHashContainer; -/*-************************************************************************************************************//** +/*-************************************************************************************************************ @short helper for desktop only(!) to create new tasks on demand for dispatches @descr Use this class as member only! Never use it as baseclass. XInterface will be ambigous and we hold a weakcss::uno::Reference to ouer OWNER - not to our SUPERCLASS! @@ -85,9 +85,9 @@ class PopupMenuDispatcher : // baseclasses css::frame::XFrameActionListener, css::lang::XInitialization > { - //------------------------------------------------------------------------------------------------------------- + // public methods - //------------------------------------------------------------------------------------------------------------- + public: // constructor / destructor diff --git a/framework/inc/dispatch/startmoduledispatcher.hxx b/framework/inc/dispatch/startmoduledispatcher.hxx index 966ba30e0d15..681593bf5bbc 100644 --- a/framework/inc/dispatch/startmoduledispatcher.hxx +++ b/framework/inc/dispatch/startmoduledispatcher.hxx @@ -44,7 +44,7 @@ namespace framework{ -//----------------------------------------------- + /** @short helper to handle all URLs related to the StartModule */ @@ -54,35 +54,35 @@ class StartModuleDispatcher : // baseclasses ... order is necessary for right in css::frame::XNotifyingDispatch, // => XDispatch css::frame::XDispatchInformationProvider > { - //------------------------------------------- + // member private: - //--------------------------------------- + /** @short reference to an uno service manager, which can be used to create own needed uno resources. */ css::uno::Reference< css::uno::XComponentContext > m_xContext; - //--------------------------------------- + /** @short our "context" frame. */ css::uno::WeakReference< css::frame::XFrame > m_xOwner; - //--------------------------------------- + /** @short the original queryDispatch() target. */ OUString m_sDispatchTarget; - //--------------------------------------- + /** @short list of registered status listener */ ListenerHash m_lStatusListener; - //------------------------------------------- + // native interface public: - //--------------------------------------- + /** @short connect a new StartModuleDispatcher instance to its "owner frame". @descr Such "owner frame" is used as context for all related operations. @@ -101,24 +101,24 @@ class StartModuleDispatcher : // baseclasses ... order is necessary for right in const css::uno::Reference< css::frame::XFrame >& xFrame , const OUString& sTarget); - //--------------------------------------- + /** @short does nothing real. */ virtual ~StartModuleDispatcher(); - //------------------------------------------- + // uno interface public: - //--------------------------------------- - //--------------------------------------- + + // XNotifyingDispatch virtual void SAL_CALL dispatchWithNotification( const css::util::URL& aURL , const css::uno::Sequence< css::beans::PropertyValue >& lArguments, const css::uno::Reference< css::frame::XDispatchResultListener >& xListener ) throw(css::uno::RuntimeException, std::exception); - //--------------------------------------- + // XDispatch virtual void SAL_CALL dispatch ( const css::util::URL& aURL , const css::uno::Sequence< css::beans::PropertyValue >& lArguments) throw(css::uno::RuntimeException, std::exception); @@ -127,22 +127,22 @@ class StartModuleDispatcher : // baseclasses ... order is necessary for right in virtual void SAL_CALL removeStatusListener( const css::uno::Reference< css::frame::XStatusListener >& xListener , const css::util::URL& aURL ) throw(css::uno::RuntimeException, std::exception); - //--------------------------------------- + // XDispatchInformationProvider virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedCommandGroups ( ) throw (css::uno::RuntimeException, std::exception); virtual css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation( sal_Int16 nCommandGroup ) throw (css::uno::RuntimeException, std::exception); - //------------------------------------------- + // internal helper private: - //--------------------------------------- + /** @short check if StartModule can be shown. */ ::sal_Bool implts_isBackingModePossible(); - //--------------------------------------- + /** @short open the special BackingComponent (now StartModule) @return [bool] @@ -150,7 +150,7 @@ class StartModuleDispatcher : // baseclasses ... order is necessary for right in */ ::sal_Bool implts_establishBackingMode(); - //--------------------------------------- + /** @short notify a DispatchResultListener. @descr We check the listener reference before we use it. |