From c6ff40681c5d8891aa830fba949b9b3c9bca9b05 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Mon, 19 Nov 2007 15:25:22 +0000 Subject: INTEGRATION: CWS as6 (1.10.100); FILE MERGED 2007/07/24 12:46:08 as 1.10.100.1: #i63263# support new optional interface XFilePicker2 --- fpicker/source/unx/gnome/SalGtkFilePicker.hxx | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'fpicker/source/unx/gnome/SalGtkFilePicker.hxx') diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.hxx b/fpicker/source/unx/gnome/SalGtkFilePicker.hxx index 15a4cf4980..3fab19bdaf 100644 --- a/fpicker/source/unx/gnome/SalGtkFilePicker.hxx +++ b/fpicker/source/unx/gnome/SalGtkFilePicker.hxx @@ -4,9 +4,9 @@ * * $RCSfile: SalGtkFilePicker.hxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: vg $ $Date: 2006-08-07 13:59:37 $ + * last change: $Author: ihi $ $Date: 2007-11-19 16:25:22 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -40,8 +40,8 @@ // includes of other projects //_______________________________________________________________________________________________________________________ -#ifndef _CPPUHELPER_COMPBASE9_HXX_ -#include +#ifndef _CPPUHELPER_COMPBASE10_HXX_ +#include #endif #ifndef _COM_SUN_STAR_LANG_XINITIALIZATION_HPP_ @@ -109,12 +109,13 @@ typedef ::com::sun::star::uno::Sequence< UnoFilterEntry > UnoFilterList; // can class SalGtkFilePicker : public SalGtkPicker, - public cppu::WeakComponentImplHelper9< + public cppu::WeakComponentImplHelper10< ::com::sun::star::ui::dialogs::XFilterManager, ::com::sun::star::ui::dialogs::XFilterGroupManager, ::com::sun::star::ui::dialogs::XFilePickerControlAccess, ::com::sun::star::ui::dialogs::XFilePickerNotifier, ::com::sun::star::ui::dialogs::XFilePreview, + ::com::sun::star::ui::dialogs::XFilePicker2, ::com::sun::star::lang::XInitialization, ::com::sun::star::util::XCancellable, ::com::sun::star::lang::XEventListener, @@ -164,6 +165,13 @@ class SalGtkFilePicker : virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getFiles( ) throw( ::com::sun::star::uno::RuntimeException ); + //------------------------------------------------------------------------------------ + // XFilePicker2 functions + //------------------------------------------------------------------------------------ + + virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSelectedFiles() + throw (::com::sun::star::uno::RuntimeException); + //------------------------------------------------------------------------------------ // XFilterManager functions //------------------------------------------------------------------------------------ -- cgit v1.2.3