1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: FileContentProvider.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_ucb_FileContentProvider_idl__
31 #define __com_sun_star_ucb_FileContentProvider_idl__
33 #ifndef __com_sun_star_ucb_XContentProvider_idl__
34 #include
<com
/sun
/star
/ucb
/XContentProvider.idl
>
36 #ifndef __com_sun_star_ucb_XFileIdentifierConverter_idl__
37 #include
<com
/sun
/star
/ucb
/XFileIdentifierConverter.idl
>
39 #ifndef __com_sun_star_ucb_XContentIdentifierFactory_idl__
40 #include
<com
/sun
/star
/ucb
/XContentIdentifierFactory.idl
>
42 #ifndef __com_sun_star_beans_XPropertySet_idl__
43 #include
<com
/sun
/star
/beans
/XPropertySet.idl
>
46 //=============================================================================
48 module com
{ module sun
{ module star
{ module ucb
{
50 //=============================================================================
51 /** The File Content Provider (FCP) implements a <type>ContentProvider</type>
52 for the <Type>UniversalContentBroker</type> (UCB).
54 <p>The served contents enable access to the local file system.
56 <p>The FCP is able to restrict access to the local file system to a number
57 of directories shown to the client under configurable aliasnames.
59 @see com::sun::star::ucb::Content
61 published service FileContentProvider
63 //-------------------------------------------------------------------------
64 /** provides an object representing either a directory or a file in the
67 @see com::sun::star::ucb::FileContent
70 interface com
::sun
::star
::ucb
::XContentProvider
;
72 //-------------------------------------------------------------------------
73 /** This interface is implemented according to the specification of
74 service <type>ContentProvider</type>.
77 interface com
::sun
::star
::ucb
::XContentIdentifierFactory
;
79 //-------------------------------------------------------------------------
80 /** provides access to properties supported by the UCP.
82 <p> The supported properties give two kinds of meta-information about
83 the environment of the FCP, namely property <b>HostName</b> containing
84 the name of the computer, and property <b>FileSystemNotation</b>
85 determining which system dependent notation the file system identifier
90 <b>Supported Properties</b>
93 string HostName ( read-only )
96 long FileSystemNotation ( read-only, the value is one of the
97 <type>FileSystemNotation</type> constants )
104 interface com
::sun
::star
::beans
::XPropertySet
;
106 //-------------------------------------------------------------------------
107 /** specifies methods to convert between (file) URLs and file paths in
108 system dependent notation
111 interface com
::sun
::star
::ucb
::XFileIdentifierConverter
;
114 //=============================================================================