2000-05-14 23:26:00 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Netscape Public
|
|
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy of
|
|
|
|
* the License at http://www.mozilla.org/NPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS
|
|
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
* implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
|
|
|
* The Initial Developer of the Original Code is Netscape
|
|
|
|
* Communications Corporation. Portions created by Netscape are
|
|
|
|
* Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
* Rights Reserved.
|
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
*/
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
#include "nsIStreamListener.idl"
|
2000-07-27 03:32:06 +00:00
|
|
|
#include "nsIDocShell.idl"
|
2000-05-14 23:26:00 +00:00
|
|
|
|
|
|
|
%{C++
|
|
|
|
#define NS_AB_SYNC_MOJO_CID \
|
|
|
|
{ 0x842cc263, 0x5255, 0x1144, \
|
|
|
|
{ 0xcc, 0xb8, 0x44, 0x45, 0x53, 0xff, 0x0, 0x2 } }
|
|
|
|
|
2000-09-13 23:57:52 +00:00
|
|
|
#define NS_AB_SYNC_MOJO_CONTRACTID \
|
|
|
|
"@mozilla.org/absync/absyncmojo;1"
|
2000-05-14 23:26:00 +00:00
|
|
|
%}
|
|
|
|
|
|
|
|
[scriptable, uuid(74872D27-0A4E-11d4-8FD6-BEEF24A7D144)]
|
|
|
|
interface nsIAbSyncMojo : nsISupports {
|
|
|
|
/*
|
|
|
|
* This is the primary interface for performing AB Sync mojo operations
|
|
|
|
*/
|
2000-07-27 03:32:06 +00:00
|
|
|
string BuildMojoString(in nsIDocShell aRootDocShell);
|
|
|
|
void StartAbSyncMojo(in nsIStreamListener aListener,
|
2000-08-03 23:40:51 +00:00
|
|
|
in nsIDocShell aRootDocShell,
|
|
|
|
in string aUser);
|
2000-06-26 23:04:37 +00:00
|
|
|
void GetAbSyncMojoResults(out string aMojoUser, out string aMojoString,
|
|
|
|
out string aMojoSpec, out long aMojoPort);
|
2000-08-03 23:40:51 +00:00
|
|
|
void CancelTheMojo();
|
2000-05-14 23:26:00 +00:00
|
|
|
};
|