diff options
author | Tomas O'Connor <toconnor@openoffice.org> | 2003-10-29 14:01:18 +0000 |
---|---|---|
committer | Tomas O'Connor <toconnor@openoffice.org> | 2003-10-29 14:01:18 +0000 |
commit | 2a5ee2e1a50f8c6d38787307e29f06fcd7860f00 (patch) | |
tree | a00bf4de24d341f886d6275f2e634750f647dc4c /scripting/source/provider/MasterScriptProvider.hxx | |
parent | 4b5e3758fc881da0a36656b56a84ff68370f53a6 (diff) |
#i21858# - removal of framework namespace from namespace of
UNO interfaces and services
Diffstat (limited to 'scripting/source/provider/MasterScriptProvider.hxx')
-rw-r--r-- | scripting/source/provider/MasterScriptProvider.hxx | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/scripting/source/provider/MasterScriptProvider.hxx b/scripting/source/provider/MasterScriptProvider.hxx index d3aaf3223d66..eba1e69eff9a 100644 --- a/scripting/source/provider/MasterScriptProvider.hxx +++ b/scripting/source/provider/MasterScriptProvider.hxx @@ -2,9 +2,9 @@ * * $RCSfile: MasterScriptProvider.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: npower $ $Date: 2003-09-10 08:08:14 $ + * last change: $Author: toconnor $ $Date: 2003-10-29 15:00:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,10 +68,9 @@ #include <com/sun/star/uno/RuntimeException.hpp> #include <com/sun/star/lang/XInitialization.hpp> -#include <drafts/com/sun/star/script/framework/provider/XScriptProvider.hpp> -#include <drafts/com/sun/star/script/framework/runtime/XScriptInvocation.hpp> +#include <drafts/com/sun/star/script/provider/XScriptProvider.hpp> #include <drafts/com/sun/star/script/framework/storage/XScriptStorageManager.hpp> -#include <drafts/com/sun/star/script/framework/browse/XBrowseNode.hpp> +#include <drafts/com/sun/star/script/browse/XBrowseNode.hpp> #include "ScriptingContext.hxx" #include "ProviderCache.hxx" @@ -79,11 +78,11 @@ namespace func_provider { // for simplification #define css ::com::sun::star -#define dcsssf ::drafts::com::sun::star::script::framework +#define dcsss ::drafts::com::sun::star::script class MasterScriptProvider : - public ::cppu::WeakImplHelper4 < dcsssf::provider::XScriptProvider, - dcsssf::browse::XBrowseNode, css::lang::XServiceInfo, + public ::cppu::WeakImplHelper4 < dcsss::provider::XScriptProvider, + dcsss::browse::XBrowseNode, css::lang::XServiceInfo, css::lang::XInitialization > { public: @@ -99,7 +98,7 @@ public: // XBrowseNode implementation virtual ::rtl::OUString SAL_CALL getName() throw ( css::uno::RuntimeException ); - virtual css::uno::Sequence< css::uno::Reference< dcsssf::browse::XBrowseNode > > SAL_CALL getChildNodes() + virtual css::uno::Sequence< css::uno::Reference< dcsss::browse::XBrowseNode > > SAL_CALL getChildNodes() throw ( css::uno::RuntimeException ); virtual sal_Bool SAL_CALL hasChildNodes() throw ( css::uno::RuntimeException ); @@ -112,8 +111,8 @@ public: virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw( css::uno::RuntimeException ); - // XScriptInvocation implementation - virtual css::uno::Reference < dcsssf::provider::XScript > SAL_CALL + // XScriptProvider implementation + virtual css::uno::Reference < dcsss::provider::XScript > SAL_CALL getScript( const ::rtl::OUString& scriptURI ) throw( css::lang::IllegalArgumentException, css::uno::RuntimeException ); @@ -128,7 +127,7 @@ public: // Public method to return all Language Providers in this MasterScriptProviders // context. - css::uno::Sequence< css::uno::Reference< dcsssf::provider::XScriptProvider > > SAL_CALL + css::uno::Sequence< css::uno::Reference< dcsss::provider::XScriptProvider > > SAL_CALL getAllProviders() throw ( css::uno::RuntimeException ); private: void addStorageAsListener() throw( css::uno::RuntimeException ); @@ -140,7 +139,7 @@ private: css::uno::Reference< css::uno::XComponentContext > m_xContext; css::uno::Reference< css::lang::XMultiComponentFactory > m_xMgr; css::uno::Reference< css::frame::XModel > m_xModel; - css::uno::Reference < dcsssf::storage::XScriptStorageManager > m_xScriptStorageMgr; + css::uno::Reference < ::drafts::com::sun::star::script::framework::storage::XScriptStorageManager > m_xScriptStorageMgr; // This component supports XInitialization, it can be created // using createInstanceXXX() or createInstanceWithArgumentsXXX using |