summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-01-14 15:25:10 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-01-15 08:51:28 +0100
commit90a1232fb3a38bcf67ed2b1f195206041bca4174 (patch)
tree7119ea40f371531e119749608a65176c1f7e6968 /include
parent4337a0664f4fb73f9e1be74f2a632847871da402 (diff)
sfx: Use constructor feature for SfxMacroLoader.
Extract that class to its own source file. Change-Id: Idc192354b88d4489db22f6f6e9b7f5178f4030e4
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/appuno.hxx35
1 files changed, 0 insertions, 35 deletions
diff --git a/include/sfx2/appuno.hxx b/include/sfx2/appuno.hxx
index a513dbc7505c..a022328f13f0 100644
--- a/include/sfx2/appuno.hxx
+++ b/include/sfx2/appuno.hxx
@@ -46,41 +46,6 @@
#include <tools/errcode.hxx>
#include <sfx2/sfxuno.hxx>
-class SfxObjectShell;
-class SfxMacroLoader : public ::cppu::WeakImplHelper5<
- css::frame::XDispatchProvider,
- css::frame::XNotifyingDispatch,
- css::frame::XSynchronousDispatch,
- css::lang::XServiceInfo,
- css::lang::XInitialization >
-{
- ::com::sun::star::uno::WeakReference < ::com::sun::star::frame::XFrame > m_xFrame;
-
- SfxObjectShell* GetObjectShell_Impl();
-
-public:
- // XInterface, XTypeProvider, XServiceInfo
- SFX_DECL_XSERVICEINFO
-
- SfxMacroLoader( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& )
- {}
-
- static ErrCode loadMacro( const OUString& aURL, ::com::sun::star::uno::Any& rRetval, SfxObjectShell* pDoc=NULL ) throw( ::com::sun::star::uno::RuntimeException );
-
- virtual ::com::sun::star::uno::Reference < ::com::sun::star::frame::XDispatch > SAL_CALL
- queryDispatch( const ::com::sun::star::util::URL& aURL, const OUString& sTargetFrameName,
- FrameSearchFlags eSearchFlags ) throw( ::com::sun::star::uno::RuntimeException ) ;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference < ::com::sun::star::frame::XDispatch > > SAL_CALL
- queryDispatches( const ::com::sun::star::uno::Sequence < ::com::sun::star::frame::DispatchDescriptor >& seqDescriptor )
- throw( ::com::sun::star::uno::RuntimeException ) ;
- virtual void SAL_CALL dispatchWithNotification( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArgs, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchResultListener >& Listener ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArgs ) throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Any SAL_CALL dispatchWithReturnValue( const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArgs ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, const ::com::sun::star::util::URL& aURL ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, const ::com::sun::star::util::URL& aURL ) throw (::com::sun::star::uno::RuntimeException);
- virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
-};
-
class SfxAppDispatchProvider : public ::cppu::WeakImplHelper3< ::com::sun::star::frame::XAppDispatchProvider,
::com::sun::star::lang::XServiceInfo,
::com::sun::star::lang::XInitialization >