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

#ifndef __gen_flockIIndexer_h__
#define __gen_flockIIndexer_h__


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

#ifndef __gen_nsISimpleEnumerator_h__
#include "nsISimpleEnumerator.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:    flockIIndexer */
#define FLOCKIINDEXER_IID_STR "f5346f75-2072-4277-ba43-c1b865f12d0f"

#define FLOCKIINDEXER_IID \
  {0xf5346f75, 0x2072, 0x4277, \
    { 0xba, 0x43, 0xc1, 0xb8, 0x65, 0xf1, 0x2d, 0x0f }}

class NS_NO_VTABLE NS_SCRIPTABLE flockIIndexer : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKIINDEXER_IID)

  /* void init (); */
  NS_SCRIPTABLE NS_IMETHOD Init(void) = 0;

  /* void rebuildIndex (); */
  NS_SCRIPTABLE NS_IMETHOD RebuildIndex(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockIIndexer, FLOCKIINDEXER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIINDEXER \
  NS_SCRIPTABLE NS_IMETHOD Init(void); \
  NS_SCRIPTABLE NS_IMETHOD RebuildIndex(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIINDEXER(_to) \
  NS_SCRIPTABLE NS_IMETHOD Init(void) { return _to Init(); } \
  NS_SCRIPTABLE NS_IMETHOD RebuildIndex(void) { return _to RebuildIndex(); } 

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

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

/* Header file */
class _MYCLASS_ : public flockIIndexer
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIINDEXER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(_MYCLASS_, flockIIndexer)

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

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

/* void init (); */
NS_IMETHODIMP _MYCLASS_::Init()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void rebuildIndex (); */
NS_IMETHODIMP _MYCLASS_::RebuildIndex()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIIndexer_h__ */
