/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIAbDirectorySearch.idl
 */

#ifndef __gen_nsIAbDirectorySearch_h__
#define __gen_nsIAbDirectorySearch_h__


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

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIAbDirectorySearch */
#define NS_IABDIRECTORYSEARCH_IID_STR "abf26047-37e3-44fd-a28a-6d37a1b9ccb3"

#define NS_IABDIRECTORYSEARCH_IID \
  {0xabf26047, 0x37e3, 0x44fd, \
    { 0xa2, 0x8a, 0x6d, 0x37, 0xa1, 0xb9, 0xcc, 0xb3 }}

class NS_NO_VTABLE nsIAbDirectorySearch : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IABDIRECTORYSEARCH_IID)

  /* void startSearch (); */
  NS_IMETHOD StartSearch(void) = 0;

  /* void stopSearch (); */
  NS_IMETHOD StopSearch(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIAbDirectorySearch, NS_IABDIRECTORYSEARCH_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIABDIRECTORYSEARCH \
  NS_IMETHOD StartSearch(void) override; \
  NS_IMETHOD StopSearch(void) 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_NSIABDIRECTORYSEARCH \
  NS_METHOD StartSearch(void); \
  NS_METHOD StopSearch(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIABDIRECTORYSEARCH(_to) \
  NS_IMETHOD StartSearch(void) override { return _to StartSearch(); } \
  NS_IMETHOD StopSearch(void) override { return _to StopSearch(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIABDIRECTORYSEARCH(_to) \
  NS_IMETHOD StartSearch(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StartSearch(); } \
  NS_IMETHOD StopSearch(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StopSearch(); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsAbDirectorySearch : public nsIAbDirectorySearch
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIABDIRECTORYSEARCH

  nsAbDirectorySearch();

private:
  ~nsAbDirectorySearch();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsAbDirectorySearch, nsIAbDirectorySearch)

nsAbDirectorySearch::nsAbDirectorySearch()
{
  /* member initializers and constructor code */
}

nsAbDirectorySearch::~nsAbDirectorySearch()
{
  /* destructor code */
}

/* void startSearch (); */
NS_IMETHODIMP nsAbDirectorySearch::StartSearch()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void stopSearch (); */
NS_IMETHODIMP nsAbDirectorySearch::StopSearch()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIAbDirectorySearch_h__ */
