[ooo-build-commit] Branch 'ooo/master' - 5 commits - bridges/source offapi/com pyuno/source sal/osl

Jan Holesovsky kendy at kemper.freedesktop.org
Fri Sep 18 20:09:27 PDT 2009


 bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx            |    1 
 bridges/source/cpp_uno/mingw_intel/call.s                     |   21 --
 offapi/com/sun/star/drawing/framework/XPane2.idl              |   79 ++++++++
 offapi/com/sun/star/drawing/framework/makefile.mk             |    1 
 offapi/com/sun/star/task/DocumentMSPasswordRequest.idl        |    6 
 offapi/com/sun/star/task/XUrlContainer.idl                    |   92 ++++++++++
 offapi/com/sun/star/ucb/URLAuthenticationRequest.idl          |   58 ++++++
 offapi/com/sun/star/ucb/XInteractionSupplyAuthentication2.idl |   79 ++++++++
 pyuno/source/loader/makefile.mk                               |    4 
 sal/osl/w32/file_dirvol.cxx                                   |   15 -
 10 files changed, 329 insertions(+), 27 deletions(-)

New commits:
commit 0af1753eafeb191604f976fe6d351aa2c4719476
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Fri Sep 18 15:39:21 2009 +0000

    CWS-TOOLING: integrate CWS impressaccessibility3
    2009-09-18 16:10:59 +0200 af  r276289 : #i102525# Fixed some minor compilation problems.
    2009-09-17 14:11:23 +0200 af  r276243 : #i102525# Fixed F1 shortcut for help view.
    2009-09-16 16:20:58 +0200 af  r276205 : #i102525# Removing const to make Solaris linker happy.
    2009-09-16 16:13:25 +0200 af  r276204 : #i90690# Initializing variable to avoid compilation problem.
    2009-09-15 19:10:04 +0200 af  r276186 : #i90825# Replace edit source proxy when an outliner object is set.
    2009-09-15 11:12:07 +0200 af  r276160 : #i90690# Broadcast accessibility events when the current slide is changed.
    2009-09-15 09:37:48 +0200 af  r276148 : #i102525# Fixed Solaris compilation problem.
    2009-09-14 18:12:40 +0200 af  r276142 : #i102525# Added missing implementation for some font related functions.
    2009-09-14 18:02:05 +0200 af  r276139 : #i102525# Added accessibility support.
    2009-09-14 17:30:13 +0200 af  r276136 : #i102525# Added support for interface XPane2 to panes.
    2009-09-14 17:00:27 +0200 af  r276133 : #i102525# Added XPane2 interface.
    2009-09-14 16:13:04 +0200 af  r276131 : #i50376# Make the focus indicator visible when the slide sorter has the focus.

diff --git a/offapi/com/sun/star/drawing/framework/XPane2.idl b/offapi/com/sun/star/drawing/framework/XPane2.idl
new file mode 100644
index 0000000..3c9a46f
--- /dev/null
+++ b/offapi/com/sun/star/drawing/framework/XPane2.idl
@@ -0,0 +1,79 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XPane.idl,v $
+ * $Revision: 1.4 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_drawing_framework_XPane2_idl__
+#define __com_sun_star_drawing_framework_XPane2_idl__
+
+#ifndef __com_sun_star_accessibility_XAccessible_idl__
+#include <com/sun/star/accessibility/XAccessible.idl>
+#endif
+
+module com { module sun { module star { module drawing { module framework {
+
+/** An extension of the XPane interface that adds support for
+    a) showing and hiding the windows that internally belong to the pane and
+    b) setting the accessibility object.
+    This is typically an optional interface.
+*/
+interface XPane2
+{
+    /** Return whether all windows that are used to implement the pane are
+        visible.
+        @Returns <TRUE> when all windows of the pane are visible.
+    */
+    boolean isVisible ();
+
+    /** Hide or show the pane.  If there is more than one window used to
+        implement the pane then it is left to the implementation if one,
+        some, or all windows are hidden or shown as long as the pane becomes
+        hidden or visible.
+        @param bIsVisible
+            When <TRUE> then show the pane.  Hide it otherwise.
+    */
+    void setVisible ([in] boolean bIsVisible);
+
+    /** Set the accessibility object for the pane. When there is more than
+        one window used to implement the pane then the given accessibility
+        object is usually set at the topmost window.  However, the details
+        are implementation dependent.
+        @param xAccessible
+            May be an empty reference.  
+    */
+    void setAccessible ([in] ::com::sun::star::accessibility::XAccessible xAccessible);
+
+    /** Return the accessibility object that is currently associated with
+        the windows that implement the pane.
+    */
+    ::com::sun::star::accessibility::XAccessible getAccessible ();
+};
+
+}; }; }; }; }; // ::com::sun::star::drawing::framework
+
+#endif
diff --git a/offapi/com/sun/star/drawing/framework/makefile.mk b/offapi/com/sun/star/drawing/framework/makefile.mk
index 9b6706a..b5dd8cb 100644
--- a/offapi/com/sun/star/drawing/framework/makefile.mk
+++ b/offapi/com/sun/star/drawing/framework/makefile.mk
@@ -62,6 +62,7 @@ IDLFILES=									\
     XControllerManager.idl					\
     XModuleController.idl					\
     XPane.idl								\
+    XPane2.idl								\
     XPaneBorderPainter.idl					\
     XRelocatableResource.idl				\
     XResource.idl							\
commit bc96416f966fcc792b901b9f1da8925b82c7e70d
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Fri Sep 18 14:37:01 2009 +0000

    CWS-TOOLING: integrate CWS mingwport24
    2009-09-13 02:15:22 +0200 tono  r276097 : i#105033: mingw port: accept incomplete deflib
    2009-09-12 15:14:34 +0200 tono  r276096 : i#105012: mingw port: $(PATH) should be quoted
    2009-09-12 15:12:49 +0200 tono  r276095 : i#105011: mingw port: berkeleydb fix
    2009-09-12 15:11:39 +0200 tono  r276094 : i#105010: mingw port: decline libdl
    2009-09-12 15:10:21 +0200 tono  r276093 : i#105009: mingw port: sal/osl/w32/file_dirvol.cxx needs ctype.h
    2009-09-12 15:08:27 +0200 tono  r276092 : reverting changes to revise log messages
    2009-09-12 11:55:48 +0200 tono  r276090 : i#105014: mingw port: change to latest w32api and mingw runtime
    2009-09-12 11:52:12 +0200 tono  r276089 : i#105013: mingw port: fix gas error in call.s in bridges
    2009-09-12 11:42:04 +0200 tono  r276088 : mingw port:  should be quoted
    2009-09-12 11:35:35 +0200 tono  r276087 : mingw port: berkeleydb fix
    2009-09-12 11:32:34 +0200 tono  r276086 : mingw port: decline libdl
    2009-09-12 11:20:50 +0200 tono  r276085 : mingw port: sal/osl/w32/file_dirvol.cxx needs ctype.h

diff --git a/bridges/source/cpp_uno/mingw_intel/call.s b/bridges/source/cpp_uno/mingw_intel/call.s
index b4a9ba0..47327d9 100644
--- a/bridges/source/cpp_uno/mingw_intel/call.s
+++ b/bridges/source/cpp_uno/mingw_intel/call.s
@@ -1,7 +1,6 @@
     .text
 
 .globl _privateSnippetExecutorGeneral
-    .type   _privateSnippetExecutorGeneral, at function
 _privateSnippetExecutorGeneral:
 .LFBg:
     movl    %esp,%ecx
@@ -19,10 +18,9 @@ _privateSnippetExecutorGeneral:
     leave
     ret
 .LFEg:
-    .size   _privateSnippetExecutorGeneral,.-_privateSnippetExecutorGeneral
+    .long   .-_privateSnippetExecutorGeneral
 
 .globl _privateSnippetExecutorVoid
-    .type   _privateSnippetExecutorVoid, at function
 _privateSnippetExecutorVoid:
 .LFBv:
     movl    %esp,%ecx
@@ -38,10 +36,9 @@ _privateSnippetExecutorVoid:
     leave
     ret
 .LFEv:
-    .size   _privateSnippetExecutorVoid,.-_privateSnippetExecutorVoid
+    .long   .-_privateSnippetExecutorVoid
 
 .globl _privateSnippetExecutorHyper
-    .type   _privateSnippetExecutorHyper, at function
 _privateSnippetExecutorHyper:
 .LFBh:
     movl    %esp,%ecx
@@ -60,10 +57,9 @@ _privateSnippetExecutorHyper:
     leave
     ret
 .LFEh:
-    .size   _privateSnippetExecutorHyper,.-_privateSnippetExecutorHyper
+    .long   .-_privateSnippetExecutorHyper
 
 .globl _privateSnippetExecutorFloat
-    .type   _privateSnippetExecutorFloat, at function
 _privateSnippetExecutorFloat:
 .LFBf:
     movl    %esp,%ecx
@@ -81,10 +77,9 @@ _privateSnippetExecutorFloat:
     leave
     ret
 .LFEf:
-    .size   _privateSnippetExecutorFloat,.-_privateSnippetExecutorFloat
+    .long   .-_privateSnippetExecutorFloat
 
 .globl _privateSnippetExecutorDouble
-    .type   _privateSnippetExecutorDouble, at function
 _privateSnippetExecutorDouble:
 .LFBd:
     movl    %esp,%ecx
@@ -102,10 +97,9 @@ _privateSnippetExecutorDouble:
     leave
     ret
 .LFEd:
-    .size   _privateSnippetExecutorDouble,.-_privateSnippetExecutorDouble
+    .long   .-_privateSnippetExecutorDouble
 
 .globl _privateSnippetExecutorClass
-    .type   _privateSnippetExecutorClass, at function
 _privateSnippetExecutorClass:
 .LFBc:
     movl    %esp,%ecx
@@ -123,9 +117,9 @@ _privateSnippetExecutorClass:
     leave
     ret     $4
 .LFEc:
-    .size   _privateSnippetExecutorClass,.-_privateSnippetExecutorClass
+    .long   .-_privateSnippetExecutorClass
 
-    .section .eh_frame,"a", at progbits
+    .section .eh_frame,"dr"
 .Lframe1:
     .long   .LECIE1-.LSCIE1   # length
 .LSCIE1:
@@ -265,4 +259,3 @@ _privateSnippetExecutorClass:
     .uleb128 5
     .align 4
 .LEFDEc:
-    .section .note.GNU-stack,"", at progbits
diff --git a/pyuno/source/loader/makefile.mk b/pyuno/source/loader/makefile.mk
index 6acb867..6e4f96e 100644
--- a/pyuno/source/loader/makefile.mk
+++ b/pyuno/source/loader/makefile.mk
@@ -110,11 +110,7 @@ $(DLLDEST)$/%.py: %.py
 
 $(DLLDEST)$/pyuno_services.rdb : makefile.mk $(DLLDEST)$/$(DLLPRE)$(TARGET)$(DLLPOST)
     -rm -f $@ $(DLLDEST)$/pyuno_services.tmp $(DLLDEST)$/pyuno_services.rdb
-.IF "$(GUI)$(COM)"=="WNTGCC"
-    cd $(DLLDEST) && sh -c "export PATH='$(PATH):$(OUT)$/bin'; $(REGCOMP) -register -r pyuno_services.tmp -wop $(foreach,i,$(COMPONENTS) -c $(i))"
-.ELSE
     cd $(DLLDEST) && $(REGCOMP) -register -r pyuno_services.tmp -wop $(foreach,i,$(COMPONENTS) -c $(i))
-.ENDIF    # "$(GUI)$(COM)"=="WNTGCC" 
     cd $(DLLDEST) && mv pyuno_services.tmp pyuno_services.rdb
 .ENDIF # L10N_framework
 
diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx
index 15cade6..441a571 100644
--- a/sal/osl/w32/file_dirvol.cxx
+++ b/sal/osl/w32/file_dirvol.cxx
@@ -45,6 +45,9 @@
 #include "rtl/ustring.hxx"
 
 #include <tchar.h>
+#ifdef __MINGW32__
+#include <ctype.h>
+#endif 
 
 //#####################################################
 #define ELEMENTS_OF_ARRAY(arr) (sizeof(arr)/(sizeof((arr)[0])))
@@ -718,9 +721,9 @@ oslFileError SAL_CALL osl_createDirectory(rtl_uString* strPath)
             sal_Int32			nLen = rtl_uString_getLength( strSysPath );
 
             if (
-                ( pBuffer[0] >= 'A' && pBuffer[0] <= 'Z' ||
-                  pBuffer[0] >= 'a' && pBuffer[0] <= 'z' ) &&
-                pBuffer[1] == ':' && ( nLen ==2 || nLen == 3 && pBuffer[2] == '\\' )
+                ( ( pBuffer[0] >= 'A' && pBuffer[0] <= 'Z' ) ||
+                  ( pBuffer[0] >= 'a' && pBuffer[0] <= 'z' ) ) &&
+                pBuffer[1] == ':' && ( nLen ==2 || ( nLen == 3 && pBuffer[2] == '\\' ) )
                 )
                 SetLastError( ERROR_ALREADY_EXISTS );
 
@@ -1151,8 +1154,8 @@ bool is_floppy_volume_mount_point(const rtl::OUString& path)
 {                   
     // determines if a volume mount point shows to a floppy
     // disk by comparing the unique volume names           
-    static const LPWSTR FLOPPY_A = L"A:\\";
-    static const LPWSTR FLOPPY_B = L"B:\\";
+    static const LPCWSTR FLOPPY_A = L"A:\\";
+    static const LPCWSTR FLOPPY_B = L"B:\\";
 
     rtl::OUString p(path);
     osl::systemPathEnsureSeparator(p);
@@ -1177,7 +1180,7 @@ bool is_floppy_volume_mount_point(const rtl::OUString& path)
 //################################################
 static bool is_floppy_drive(const rtl::OUString& path)
 {
-    static const LPWSTR FLOPPY_DRV_LETTERS = TEXT("AaBb"); 
+    static const LPCWSTR FLOPPY_DRV_LETTERS = TEXT("AaBb"); 
 
     // we must take into account that even a floppy 
     // drive may be mounted to a directory so checking
commit 825b76212c7ad2e4b1d3ccb76d46511d84d1f2b5
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Fri Sep 18 12:40:04 2009 +0000

    CWS-TOOLING: integrate CWS cmcfixes63
    2009-09-16 11:24:47 +0200 cmc  r276193 : #i105118# remove overly const warnings for -Wall
    2009-09-15 18:04:24 +0200 cmc  r276183 : #i105089# fix include
    2009-09-15 14:30:55 +0200 cmc  r276176 : #i105090# fix includes for s390x bridge

diff --git a/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx b/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx
index dbb971c..ac959ef 100644
--- a/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx
+++ b/bridges/source/cpp_uno/gcc3_linux_s390x/except.cxx
@@ -33,6 +33,7 @@
 #include "precompiled_bridges.hxx"
 
 #include <stdio.h>
+#include <string.h>
 #include <dlfcn.h>
 #include <cxxabi.h>
 #include <hash_map>
commit 2c039b53eb5a62a3eda14cf083d21751aa2079cf
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Fri Sep 18 09:05:17 2009 +0000

    CWS-TOOLING: integrate CWS adc25
    2009-09-10 12:20:49 +0200 np  r276029 : #i100671#
    2009-09-10 11:25:02 +0200 np  r276025 : #i100671#
    2009-09-10 11:22:03 +0200 np  r276024 : #i100671#

diff --git a/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl b/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl
index 29e1920..717e590 100644
--- a/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl
+++ b/offapi/com/sun/star/task/DocumentMSPasswordRequest.idl
@@ -1,7 +1,7 @@
 /*************************************************************************
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- * 
+ *
  * Copyright IBM Corporation 2009.
  * Copyright 2009 by Sun Microsystems, Inc.
  *
@@ -38,7 +38,7 @@
 
 //=============================================================================
 
-module com { module sun { module star { module task { 
+module com { module sun { module star { module task {
 
 //=============================================================================
 /** this request specifies the mode in which the password for Microsoft Office file format encryption should be asked
@@ -62,6 +62,6 @@ published exception DocumentMSPasswordRequest: PasswordRequest
 
 //=============================================================================
 
-}; }; }; }; 
+}; }; }; };
 
 #endif
commit 40f20f8b0898b0ac32872edc0daf6e4e1d1fe206
Author: Jens-Heiner Rechtien <hr at openoffice.org>
Date:   Fri Sep 18 09:04:40 2009 +0000

    #i10000#: files added (and removed) missing from integration of CWS kso32fixes2

diff --git a/offapi/com/sun/star/task/XUrlContainer.idl b/offapi/com/sun/star/task/XUrlContainer.idl
new file mode 100644
index 0000000..5470961
--- /dev/null
+++ b/offapi/com/sun/star/task/XUrlContainer.idl
@@ -0,0 +1,92 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XPasswordContainer.idl,v $
+ * $Revision: 1.9 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_task_XUrlContainer_idl__
+#define __com_sun_star_task_XUrlContainer_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_task_XInteractionHandler_idl__
+#include <com/sun/star/task/XInteractionHandler.idl>
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module task {
+
+//=============================================================================
+/** Allows to store and retrieve URLs. URLs can be stored persistently or 
+    until end of OOo session.
+*/
+/*published*/ interface XUrlContainer : com::sun::star::uno::XInterface
+{
+    //-------------------------------------------------------------------------
+    /** Add a URL to the container.
+
+        @param Url        URL to add to the container
+        @param MakePersistent indicates whether the URL shall be stored 
+                          persistently or just in memory (until end of
+                          OOo session)
+    */
+    void addUrl( [in] string Url, [in] boolean MakePersistent );
+
+    //-------------------------------------------------------------------------
+    /** Lookup a URL in the container.
+
+        @param Url     URL to lookup.
+         @returns       Best matched URL or empty string.
+    */
+    string findUrl( [in] string Url );
+        
+    //-------------------------------------------------------------------------
+    /** Remove a URL from the container.
+
+        @param Url      URL to remove.
+    */
+    void removeUrl( [in] string Url );
+
+    //-------------------------------------------------------------------------
+    /** Get all URLs.
+
+        @param OnlyPersistent Only URLs taht are stored persistently shall
+                        be returned. 
+        @returns        List of URLs.
+    */
+    sequence<string> getUrls( [in] boolean OnlyPersistent );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/offapi/com/sun/star/ucb/URLAuthenticationRequest.idl b/offapi/com/sun/star/ucb/URLAuthenticationRequest.idl
new file mode 100644
index 0000000..1d8284a
--- /dev/null
+++ b/offapi/com/sun/star/ucb/URLAuthenticationRequest.idl
@@ -0,0 +1,58 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: AuthenticationRequest.idl,v $
+ * $Revision: 1.6 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_ucb_URLAuthenticationRequest_idl__
+#define __com_sun_star_ucb_URLAuthenticationRequest_idl__
+
+#ifndef __com_sun_star_ucb_AuthenticationRequest_idl__
+#include <com/sun/star/ucb/AuthenticationRequest.idl>
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module ucb { 
+
+//=============================================================================
+/** An error specifing lack of correct authentication data (e.g., to log into
+    an account).
+*/
+/*published*/ exception URLAuthenticationRequest : AuthenticationRequest
+{
+    //-------------------------------------------------------------------------
+    /** The URL for which authentication is requested.
+     */
+    string URL;
+};
+
+//=============================================================================
+
+}; }; }; }; 
+
+#endif
diff --git a/offapi/com/sun/star/ucb/XInteractionSupplyAuthentication2.idl b/offapi/com/sun/star/ucb/XInteractionSupplyAuthentication2.idl
new file mode 100644
index 0000000..ea83af4
--- /dev/null
+++ b/offapi/com/sun/star/ucb/XInteractionSupplyAuthentication2.idl
@@ -0,0 +1,79 @@
+/*************************************************************************
+ *
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ * 
+ * Copyright 2008 by Sun Microsystems, Inc.
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: XInteractionSupplyAuthentication.idl,v $
+ * $Revision: 1.9 $
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU Lesser General Public License version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org.  If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_ucb_XInteractionSupplyAuthentication2_idl__
+#define __com_sun_star_ucb_XInteractionSupplyAuthentication2_idl__
+
+#ifndef __com_sun_star_ucb_XInteractionSupplyAuthentication_idl__
+#include <com/sun/star/ucb/XInteractionSupplyAuthentication.idl>
+#endif
+
+
+
+//=============================================================================
+
+module com { module sun { module star { module ucb { 
+
+//=============================================================================
+/** An interaction continuation handing back some authentication data.
+    
+    <p> This continuation is typically used in conjunction with
+    <type>AuthenticationRequest</type>. </p>
+*/
+/*published*/ interface XInteractionSupplyAuthentication2 : XInteractionSupplyAuthentication
+{
+    //-------------------------------------------------------------------------
+    /** Specifies if 'system credentials' can be obtained and used by the issuer
+        of the authentiction request.
+
+        @param Default
+        Returns the default behavior for system credentials handling (to be 
+        initially displayed to the user).
+
+        @returns
+        <true/> if the issuer is able to obtain and use system credentials.
+        <false/> otherwise.
+    */
+    boolean canUseSystemCredentials( [out] boolean Default );
+
+    //-------------------------------------------------------------------------
+    /** Set a new 'use system credentials' value to hand back.
+        
+        @param UseSystemCredentials
+        <true/> means the request issuer shall obtain and use system credentials.
+     */
+    void setUseSystemCredentials( [in] boolean UseSystemCredentials );
+
+};
+
+//=============================================================================
+
+}; }; }; }; 
+
+#endif


More information about the ooo-build-commit mailing list