#83779# use XInteractionHandler

This commit is contained in:
Mikhail Voitenko 2001-05-11 10:57:34 +00:00
parent b1ff2fa9b6
commit 53acc0b607

View file

@ -2,9 +2,9 @@
*
* $RCSfile: XPasswordContainer.idl,v $
*
* $Revision: 1.3 $
* $Revision: 1.4 $
*
* last change: $Author: mav $ $Date: 2001-05-03 15:40:26 $
* last change: $Author: mav $ $Date: 2001-05-11 11:57:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -69,6 +69,10 @@
#include <com/sun/star/task/UrlRecord.idl>
#endif
#ifndef __com_sun_star_task_XInteractionHandler_idl__
#include <com/sun/star/task/XInteractionHandler.idl>
#endif
//=============================================================================
@ -89,9 +93,11 @@ interface XPasswordContainer : com::sun::star::uno::XInterface
@param Passwords The password-list.
@param Handler The handler to get superpassword to en/decript passwords
*/
void add( [in] string Url, [in] string UserName, [in] sequence<string> Passwords );
void add( [in] string Url, [in] string UserName, [in] sequence<string> Passwords, [in] XInteractionHandler Handler );
//-------------------------------------------------------------------------
/** Save passwords in to the container, and store them in the file.
@ -103,18 +109,22 @@ interface XPasswordContainer : com::sun::star::uno::XInterface
@param Passwords The password-list.
@param Handler The handler to get superpassword to en/decript passwords
*/
void addPersistent( [in] string Url, [in] string UserName, [in] sequence<string> Passwords );
void addPersistent( [in] string Url, [in] string UserName, [in] sequence<string> Passwords, [in] XInteractionHandler Handler );
//-------------------------------------------------------------------------
/** Find users with passwords for the url pattern.
@param Url URL-pattern to retrieve password for.
@param Handler The handler to get superpassword to en/decript passwords
@returns Best matched url-pattern with user-records list.
*/
UrlRecord find( [in] string Url );
UrlRecord find( [in] string Url, [in] XInteractionHandler Handler );
//-------------------------------------------------------------------------
/** Find passwords for the url pattern and username.
@ -123,9 +133,11 @@ interface XPasswordContainer : com::sun::star::uno::XInterface
@param UserName Username to retrieve passwords for.
@param Handler The handler to get superpassword to en/decript passwords
@returns Best matched url-pattern for the username.
*/
UrlRecord findForName( [in] string Url, [in] string UserName );
UrlRecord findForName( [in] string Url, [in] string UserName , [in] XInteractionHandler Handler );
//-------------------------------------------------------------------------
/** Remove passwords for the url pattern and username from the file.
@ -147,7 +159,7 @@ interface XPasswordContainer : com::sun::star::uno::XInterface
@returns List of url-records.
*/
sequence<UrlRecord> getAllPersistent();
sequence<UrlRecord> getAllPersistent( [in] XInteractionHandler Handler );
};