DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/addrbook/public/nsIAbLDAPReplicationQuery.idl
 */

#ifndef __gen_nsIAbLDAPReplicationQuery_h__
#define __gen_nsIAbLDAPReplicationQuery_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#include "js/GCAnnotations.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIWebProgressListener; /* forward declaration */

class nsILDAPURL; /* forward declaration */

class nsILDAPConnection; /* forward declaration */

class nsILDAPOperation; /* forward declaration */

class nsIAbLDAPDirectory; /* forward declaration */


/* starting interface:    nsIAbLDAPReplicationQuery */
#define NS_IABLDAPREPLICATIONQUERY_IID_STR "460a739c-a8c1-4f24-b705-c89d136ab9f5"

#define NS_IABLDAPREPLICATIONQUERY_IID \
  {0x460a739c, 0xa8c1, 0x4f24, \
    { 0xb7, 0x05, 0xc8, 0x9d, 0x13, 0x6a, 0xb9, 0xf5 }}

class NS_NO_VTABLE nsIAbLDAPReplicationQuery : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IABLDAPREPLICATIONQUERY_IID)

  /* void init (in nsIAbLDAPDirectory aDirectory, in nsIWebProgressListener aProgressListener); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Init(nsIAbLDAPDirectory *aDirectory, nsIWebProgressListener *aProgressListener) = 0;

  /* void doReplicationQuery (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD DoReplicationQuery(void) = 0;

  /* void cancelQuery (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD CancelQuery(void) = 0;

  /* void done (in boolean aSuccess); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD Done(bool aSuccess) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIAbLDAPReplicationQuery, NS_IABLDAPREPLICATIONQUERY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIABLDAPREPLICATIONQUERY \
  NS_IMETHOD Init(nsIAbLDAPDirectory *aDirectory, nsIWebProgressListener *aProgressListener) override; \
  NS_IMETHOD DoReplicationQuery(void) override; \
  NS_IMETHOD CancelQuery(void) override; \
  NS_IMETHOD Done(bool aSuccess) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIABLDAPREPLICATIONQUERY \
  nsresult Init(nsIAbLDAPDirectory *aDirectory, nsIWebProgressListener *aProgressListener); \
  nsresult DoReplicationQuery(void); \
  nsresult CancelQuery(void); \
  nsresult Done(bool aSuccess); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIABLDAPREPLICATIONQUERY(_to) \
  NS_IMETHOD Init(nsIAbLDAPDirectory *aDirectory, nsIWebProgressListener *aProgressListener) override { return _to Init(aDirectory, aProgressListener); } \
  NS_IMETHOD DoReplicationQuery(void) override { return _to DoReplicationQuery(); } \
  NS_IMETHOD CancelQuery(void) override { return _to CancelQuery(); } \
  NS_IMETHOD Done(bool aSuccess) override { return _to Done(aSuccess); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIABLDAPREPLICATIONQUERY(_to) \
  NS_IMETHOD Init(nsIAbLDAPDirectory *aDirectory, nsIWebProgressListener *aProgressListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aDirectory, aProgressListener); } \
  NS_IMETHOD DoReplicationQuery(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DoReplicationQuery(); } \
  NS_IMETHOD CancelQuery(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CancelQuery(); } \
  NS_IMETHOD Done(bool aSuccess) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Done(aSuccess); } 


/* starting interface:    nsIAbLDAPChangeLogQuery */
#define NS_IABLDAPCHANGELOGQUERY_IID_STR "126202d1-4460-11d6-b7c2-00b0d06e5f27"

#define NS_IABLDAPCHANGELOGQUERY_IID \
  {0x126202d1, 0x4460, 0x11d6, \
    { 0xb7, 0xc2, 0x00, 0xb0, 0xd0, 0x6e, 0x5f, 0x27 }}

class NS_NO_VTABLE nsIAbLDAPChangeLogQuery : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IABLDAPCHANGELOGQUERY_IID)

  /* void queryAuthDN (in AUTF8String aValueUsedToFindDn); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD QueryAuthDN(const nsACString& aValueUsedToFindDn) = 0;

  /* void queryRootDSE (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD QueryRootDSE(void) = 0;

  /* void queryChangeLog (in AUTF8String aChangeLogDN, in int32_t aLastChangeNo); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD QueryChangeLog(const nsACString& aChangeLogDN, int32_t aLastChangeNo) = 0;

  /* void queryChangedEntries (in AUTF8String aChangedEntryDN); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD QueryChangedEntries(const nsACString& aChangedEntryDN) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIAbLDAPChangeLogQuery, NS_IABLDAPCHANGELOGQUERY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIABLDAPCHANGELOGQUERY \
  NS_IMETHOD QueryAuthDN(const nsACString& aValueUsedToFindDn) override; \
  NS_IMETHOD QueryRootDSE(void) override; \
  NS_IMETHOD QueryChangeLog(const nsACString& aChangeLogDN, int32_t aLastChangeNo) override; \
  NS_IMETHOD QueryChangedEntries(const nsACString& aChangedEntryDN) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIABLDAPCHANGELOGQUERY \
  nsresult QueryAuthDN(const nsACString& aValueUsedToFindDn); \
  nsresult QueryRootDSE(void); \
  nsresult QueryChangeLog(const nsACString& aChangeLogDN, int32_t aLastChangeNo); \
  nsresult QueryChangedEntries(const nsACString& aChangedEntryDN); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIABLDAPCHANGELOGQUERY(_to) \
  NS_IMETHOD QueryAuthDN(const nsACString& aValueUsedToFindDn) override { return _to QueryAuthDN(aValueUsedToFindDn); } \
  NS_IMETHOD QueryRootDSE(void) override { return _to QueryRootDSE(); } \
  NS_IMETHOD QueryChangeLog(const nsACString& aChangeLogDN, int32_t aLastChangeNo) override { return _to QueryChangeLog(aChangeLogDN, aLastChangeNo); } \
  NS_IMETHOD QueryChangedEntries(const nsACString& aChangedEntryDN) override { return _to QueryChangedEntries(aChangedEntryDN); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIABLDAPCHANGELOGQUERY(_to) \
  NS_IMETHOD QueryAuthDN(const nsACString& aValueUsedToFindDn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryAuthDN(aValueUsedToFindDn); } \
  NS_IMETHOD QueryRootDSE(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryRootDSE(); } \
  NS_IMETHOD QueryChangeLog(const nsACString& aChangeLogDN, int32_t aLastChangeNo) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryChangeLog(aChangeLogDN, aLastChangeNo); } \
  NS_IMETHOD QueryChangedEntries(const nsACString& aChangedEntryDN) override { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryChangedEntries(aChangedEntryDN); } 


#endif /* __gen_nsIAbLDAPReplicationQuery_h__ */