summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorAndreas Schlüns <as@openoffice.org>2002-05-02 10:42:07 +0000
committerAndreas Schlüns <as@openoffice.org>2002-05-02 10:42:07 +0000
commitaf346d66ec0eb30587a9b2138e96dac49698e6c7 (patch)
tree2c7c08e0384badc88d426158d6a46cb746089267 /framework
parent3642f95267df77a383e44cde754e2724e0a70733 (diff)
#99021# add protocol handler services
Diffstat (limited to 'framework')
-rw-r--r--framework/source/register/registerservices.cxx18
-rw-r--r--framework/source/unotypes/fwk.xml62
2 files changed, 76 insertions, 4 deletions
diff --git a/framework/source/register/registerservices.cxx b/framework/source/register/registerservices.cxx
index 230f93632afb..7d2e05154f65 100644
--- a/framework/source/register/registerservices.cxx
+++ b/framework/source/register/registerservices.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: registerservices.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: as $ $Date: 2002-04-22 13:52:02 $
+ * last change: $Author: as $ $Date: 2002-05-02 11:41:56 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -134,6 +134,14 @@
#include <recording/dispatchrecorder.hxx>
#endif
+#ifndef __FRAMEWORK_DISPATCH_MAILTODISPATCHER_HXX_
+#include <dispatch/mailtodispatcher.hxx>
+#endif
+
+#ifndef __FRAMEWORK_DISPATCH_SERVICEHANDLER_HXX_
+#include <dispatch/servicehandler.hxx>
+#endif
+
COMPONENTGETIMPLEMENTATIONENVIRONMENT
COMPONENTWRITEINFO ( COMPONENTINFO( ::framework::URLTransformer )
@@ -146,6 +154,8 @@ COMPONENTWRITEINFO ( COMPONENTINFO( ::framework::URLTransformer
COMPONENTINFO( ::framework::JobExecutor )
COMPONENTINFO( ::framework::DispatchRecorderSupplier )
COMPONENTINFO( ::framework::DispatchRecorder )
+ COMPONENTINFO( ::framework::MailToDispatcher )
+ COMPONENTINFO( ::framework::ServiceHandler )
)
COMPONENTGETFACTORY ( IFFACTORY( ::framework::URLTransformer ) else
@@ -157,5 +167,7 @@ COMPONENTGETFACTORY ( IFFACTORY( ::framework::URLTransformer
IFFACTORY( ::framework::SoundHandler ) else
IFFACTORY( ::framework::JobExecutor ) else
IFFACTORY( ::framework::DispatchRecorderSupplier ) else
- IFFACTORY( ::framework::DispatchRecorder )
+ IFFACTORY( ::framework::DispatchRecorder ) else
+ IFFACTORY( ::framework::MailToDispatcher ) else
+ IFFACTORY( ::framework::ServiceHandler )
)
diff --git a/framework/source/unotypes/fwk.xml b/framework/source/unotypes/fwk.xml
index 1fe2dcb04683..8251b0c5099a 100644
--- a/framework/source/unotypes/fwk.xml
+++ b/framework/source/unotypes/fwk.xml
@@ -91,10 +91,70 @@
</description>
<loader-name> com.sun.star.loader.SharedLibrary </loader-name>
<language> c++ </language>
- <status value="draft"/>
+ <status value="final"/>
<supported-service> com.sun.star.document.Handler </supported-service>
</component-description>
+ <component-description>
+ <author> Andreas Schluens </author>
+ <name> com.sun.star.comp.framework.DispatchRecorderSupplier </name>
+ <description>
+ This supplier is available on the servcice Frame as property "DispatchRecorderSupplier".
+ It provides access on the currently set DispatchRecorder of this Frame
+ and some additional functionality to make macro recording easy.
+ </description>
+ <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
+ <language> c++ </language>
+ <status value="final"/>
+ <supported-service> com.sun.star.frame.DispatchRecorderSupplier </supported-service>
+ </component-description>
+
+ <component-description>
+ <author> Andreas Schluens </author>
+ <name> com.sun.star.comp.framework.DispatchRecorder </name>
+ <description>
+ Implements a recorder object which can record XDIspatch::dispatch() calls
+ and generate basic script code from that.
+ </description>
+ <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
+ <language> c++ </language>
+ <status value="final"/>
+ <supported-service> com.sun.star.frame.DispatchRecorder </supported-service>
+ </component-description>
+
+ <component-description>
+ <author> Andreas Schluens </author>
+ <name> com.sun.star.comp.framework.MailToDispatcher </name>
+ <description>
+ It's a dispatch object which can handle "mailto:" URLs.
+ This service is registered in configuration for this protocol
+ and wil be used automaticly by the generic dispatch implementation
+ of a Frame. It should start an external mail application and forward
+ this request to it.
+ </description>
+ <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
+ <language> c++ </language>
+ <status value="final"/>
+ <supported-service> com.sun.star.frame.ProtocolHandler </supported-service>
+ </component-description>
+
+ <component-description>
+ <author> Andreas Schluens </author>
+ <name> com.sun.star.comp.framework.ServiceHandler </name>
+ <description>
+ It's a special dispatch object which is registered for "service:*" URL pattern
+ and will be automaticly used by the framework dispatch mechanism if such URL occured.
+ His job is to create any registered uno components which must be coded inside
+ dispatched URL (may with some optional given parameters). After that such created
+ service must be hold his self alive. Such mechanism can be usefull for UI components
+ (e.g. Dialogs, Wizards) only.
+ </description>
+ <loader-name> com.sun.star.loader.SharedLibrary </loader-name>
+ <language> c++ </language>
+ <status value="final"/>
+ <supported-service> com.sun.star.frame.ProtocolHandler </supported-service>
+ </component-description>
+
<project-build-dependency> cppu </project-build-dependency>
<project-build-dependency> cppuhelper </project-build-dependency>
<project-build-dependency> vos </project-build-dependency>