mailnews/addrbook/public/nsIAbLDAPReplicationService.idl
author Jorg K
Mon, 18 Dec 2017 23:37:21 +0100
changeset 29787 12a18e736fca9a9ac8e0866caf470fa9342af842
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 31296 4b27cf3e7225d5efbc5ffd1921bf44241972aafa
permissions -rw-r--r--
Bug 1399756 - remove trailing spaces from IDL files in mailnews. rs=white-space-only

/* 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 Mork 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);
};