mailnews/addrbook/public/nsIAbLDAPReplicationService.idl
author Mozilla Releng Treescript <release+treescript@mozilla.org>
Thu, 04 Mar 2021 08:37:39 +0000
changeset 41382 e0ef3b915829de67a19cf5690bffbe145d12d20b
parent 36984 2e4a2383f3182d3befbcee92c0ef2ba7347eb23d
permissions -rw-r--r--
no bug - Bumping Thunderbird l10n changesets r=release a=l10n-bump DONTBUILD ast -> 85a961d250a508f263c17cad193a1e22d2c3cda4 el -> e854408efa0e739e3c22f0d8ab9d4b627927aa0b fr -> 110114d176859c191c39d7457f76c5c9247b6a25 it -> 3ab129cf7624f59655156d7a11dfbee4999e9359 pt-BR -> d8b467ec60373a43391d3d3f9f4f773e301076a1 pt-PT -> eb0f997231b20e39cfe263e5168f2c9f6f8aadc1 zh-CN -> 177af21d2e347c7735cc5282b0fa3d5949ff94dc

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

interface nsIWebProgressListener;
interface nsIAbLDAPDirectory;

/**
 * this service does replication of an LDAP directory to a local AB Database.
 */
[scriptable, uuid(3f499c70-5ceb-4b91-8b7f-62c366859383)]
interface nsIAbLDAPReplicationService: nsISupports {

   /**
     * Start Replication of given LDAP directory represented by the URI
     */
    void startReplication(in nsIAbLDAPDirectory aDirectory,
                          in nsIWebProgressListener progressListener);

   /**
     * Cancel Replication of given LDAP directory represented by the URI
     */
    void cancelReplication(in nsIAbLDAPDirectory aDirectory);

   /**
     * callback when replication is done, failure or success
     */
    void done(in boolean aSuccess);
};