diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-07-14 06:09:36 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-07-14 06:09:36 +0000 |
commit | cdd9e8457263cd058b3f758c7aa4bd868e6c8b8d (patch) | |
tree | afd4dca990510c193bcca7bdf1f852b48e24934c /scripting | |
parent | 797e69c3fa9683a07a31096b426a6095eb9d955b (diff) |
INTEGRATION: CWS ab28 (1.4.28); FILE MERGED
2006/07/12 08:44:16 ab 1.4.28.1: #i66948# XDialogProvider2 support
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/source/dlgprov/dlgevtatt.hxx | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/scripting/source/dlgprov/dlgevtatt.hxx b/scripting/source/dlgprov/dlgevtatt.hxx index 69e2af9a3a1a..1d5bdaa41c09 100644 --- a/scripting/source/dlgprov/dlgevtatt.hxx +++ b/scripting/source/dlgprov/dlgevtatt.hxx @@ -4,9 +4,9 @@ * * $RCSfile: dlgevtatt.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2005-09-09 02:24:58 $ + * last change: $Author: obo $ $Date: 2006-07-14 07:09:36 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -54,6 +54,12 @@ #ifndef _COM_SUN_STAR_UNO_XCOMPONENTCONTEXT_HPP_ #include <com/sun/star/uno/XComponentContext.hpp> #endif +#ifndef _COM_SUN_STAR_AWT_XDIALOG_HPP_ +#include <com/sun/star/awt/XDialog.hpp> +#endif +#ifndef _COM_SUN_STAR_BEANS_XINTROSPECTION_HPP_ +#include <com/sun/star/beans/XIntrospectionAccess.hpp> +#endif #ifndef _CPPUHELPER_IMPLBASE1_HXX_ #include <cppuhelper/implbase1.hxx> @@ -140,14 +146,22 @@ namespace dlgprov class DialogScriptListenerImpl : public DialogScriptListenerImpl_BASE { - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; - ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > m_xModel; + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; + ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > m_xModel; + ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDialog > m_xDialog; + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > m_xHandler; + ::com::sun::star::uno::Reference< ::com::sun::star::beans::XIntrospectionAccess > m_xIntrospectionAccess; virtual void firing_impl( const ::com::sun::star::script::ScriptEvent& aScriptEvent, ::com::sun::star::uno::Any* pRet ); + void handleUnoScript( const ::com::sun::star::script::ScriptEvent& aScriptEvent, ::com::sun::star::uno::Any* pRet ); + public: DialogScriptListenerImpl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext, - const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& rxModel ); + const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& rxModel, + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDialog >& rxDialog, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxHandler, + const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XIntrospectionAccess >& rxIntrospectionAccess ); virtual ~DialogScriptListenerImpl(); // XEventListener |