xref: /AOO41X/main/offapi/com/sun/star/sync/XSyncCollector.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca) !
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_sync_XSyncCollector_idl__
25#define __com_sun_star_sync_XSyncCollector_idl__
26
27#ifndef __com_sun_star_ucb_XContentProviderManager_idl__
28#include <com/sun/star/ucb/XContentProviderManager.idl>
29#endif
30#ifndef __com_sun_star_ucb_XContent_idl__
31#include <com/sun/star/ucb/XContent.idl>
32#endif
33#ifndef __com_sun_star_sync_SyncScheme_idl__
34#include <com/sun/star/sync/SyncScheme.idl>
35#endif
36#ifndef __com_sun_star_sync_SyncInfo_idl__
37#include <com/sun/star/sync/SyncInfo.idl>
38#endif
39#ifndef __com_sun_star_sync_SyncElement_idl__
40#include <com/sun/star/sync/SyncElement.idl>
41#endif
42
43//=============================================================================
44
45module com {  module sun {  module star {  module sync {
46
47/// @deprecated
48published interface XSyncCollector: com::sun::star::uno::XInterface
49{
50    boolean                                         initialize( [in] com::sun::star::ucb::XContentProviderManager xMgr,
51                                                                [in] sequence<com::sun::star::sync::SyncScheme> aSyncSchemes,
52                                                                [in] string aBaseFileName );
53
54    sequence<com::sun::star::sync::SyncScheme>      getRegisteredSyncSchemes();
55
56    sequence<com::sun::star::sync::SyncElement>     getSyncSequence( [in] string aSyncSchemeName,
57                                                                     [in] com::sun::star::sync::SyncInfo aSyncInfo );
58
59    [oneway] void                                   beginSynchronize();
60
61    [oneway] void                                   endSynchronize();
62
63    boolean                                         getCorrespondingElement( [in] com::sun::star::sync::SyncScheme aSyncSchemeIn,
64                                                                             [in] com::sun::star::sync::SyncElement aSyncElementIn,
65                                                                             [out] com::sun::star::sync::SyncElement aSyncElementOut );
66
67    boolean                                         executeElementCommand( [in] string aSyncSchemeName,
68                                                                           [in] com::sun::star::sync::SyncElement aSyncElement,
69                                                                           [in] string aCommandName,
70                                                                           [out] any aAny );
71
72    [oneway] void                                   elementSynchronized( [in] string aSyncSchemeName,
73                                                                         [in] com::sun::star::sync::SyncElement aSyncElement,
74                                                                         [in] unsigned long nSyncAction );
75
76    [oneway] void                                   notify( [in] com::sun::star::ucb::XContent XCnt,
77                                                            [in] unsigned long nEvent );
78};
79
80//=============================================================================
81
82}; }; }; };
83
84#endif
85