summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-06 13:34:48 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-06 13:34:48 +0000
commit486612db6697dd3ba5b584b0e44f3d9905ce9527 (patch)
tree8e49180feb6bf610b8715b89d218d99a11de3321
parentea94271b0530c55273e59e3474264b5dd5d32841 (diff)
INTEGRATION: CWS dba30c (1.6.20); FILE MERGED
2008/05/13 06:50:00 fs 1.6.20.1: joining changes from CWS odbmacros3 to CWS dba30c: 2008/05/11 20:59:01 fs 1.6.8.1: +OInteractionPassword
-rw-r--r--comphelper/inc/comphelper/interaction.hxx26
1 files changed, 25 insertions, 1 deletions
diff --git a/comphelper/inc/comphelper/interaction.hxx b/comphelper/inc/comphelper/interaction.hxx
index 45cc0e6b9198..1c6c063f476f 100644
--- a/comphelper/inc/comphelper/interaction.hxx
+++ b/comphelper/inc/comphelper/interaction.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: interaction.hxx,v $
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
* This file is part of OpenOffice.org.
*
@@ -37,6 +37,7 @@
#include <com/sun/star/task/XInteractionDisapprove.hpp>
#include <com/sun/star/task/XInteractionAbort.hpp>
#include <com/sun/star/task/XInteractionRetry.hpp>
+#include <com/sun/star/task/XInteractionPassword.hpp>
#include <com/sun/star/task/XInteractionRequest.hpp>
#include "comphelper/comphelperdllapi.h"
@@ -114,6 +115,29 @@ namespace comphelper
typedef OInteraction< ::com::sun::star::task::XInteractionRetry > OInteractionRetry;
//=========================================================================
+ //= OInteractionPassword
+ //=========================================================================
+ class COMPHELPER_DLLPUBLIC OInteractionPassword : public OInteraction< ::com::sun::star::task::XInteractionPassword >
+ {
+ public:
+ OInteractionPassword()
+ {
+ }
+
+ OInteractionPassword( const ::rtl::OUString& _rInitialPassword )
+ :m_sPassword( _rInitialPassword )
+ {
+ }
+
+ // XInteractionPassword
+ virtual void SAL_CALL setPassword( const ::rtl::OUString& _Password ) throw (::com::sun::star::uno::RuntimeException);
+ virtual ::rtl::OUString SAL_CALL getPassword( ) throw (::com::sun::star::uno::RuntimeException);
+
+ private:
+ ::rtl::OUString m_sPassword;
+ };
+
+ //=========================================================================
//= OInteractionRequest
//=========================================================================
typedef ::cppu::WeakImplHelper1 < ::com::sun::star::task::XInteractionRequest