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

#ifndef __gen_flockITokenizer_h__
#define __gen_flockITokenizer_h__


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

#ifndef __gen_nsIDOMDocumentTraversal_h__
#include "nsIDOMDocumentTraversal.h"
#endif

#ifndef __gen_nsIDOMNode_h__
#include "nsIDOMNode.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:    flockITokenizer */
#define FLOCKITOKENIZER_IID_STR "9a35c58a-14a5-4b13-87a0-4ec24a19888f"

#define FLOCKITOKENIZER_IID \
  {0x9a35c58a, 0x14a5, 0x4b13, \
    { 0x87, 0xa0, 0x4e, 0xc2, 0x4a, 0x19, 0x88, 0x8f }}

class NS_NO_VTABLE NS_SCRIPTABLE flockITokenizer : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(FLOCKITOKENIZER_IID)

  /* AString tokenizeDOMNode (in nsIDOMDocumentTraversal aTraversal, in nsIDOMNode aDOMNode); */
  NS_SCRIPTABLE NS_IMETHOD TokenizeDOMNode(nsIDOMDocumentTraversal *aTraversal, nsIDOMNode *aDOMNode, nsAString & _retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(flockITokenizer, FLOCKITOKENIZER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKITOKENIZER \
  NS_SCRIPTABLE NS_IMETHOD TokenizeDOMNode(nsIDOMDocumentTraversal *aTraversal, nsIDOMNode *aDOMNode, nsAString & _retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKITOKENIZER(_to) \
  NS_SCRIPTABLE NS_IMETHOD TokenizeDOMNode(nsIDOMDocumentTraversal *aTraversal, nsIDOMNode *aDOMNode, nsAString & _retval) { return _to TokenizeDOMNode(aTraversal, aDOMNode, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKITOKENIZER(_to) \
  NS_SCRIPTABLE NS_IMETHOD TokenizeDOMNode(nsIDOMDocumentTraversal *aTraversal, nsIDOMNode *aDOMNode, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->TokenizeDOMNode(aTraversal, aDOMNode, _retval); } 

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

/* Header file */
class _MYCLASS_ : public flockITokenizer
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKITOKENIZER

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* AString tokenizeDOMNode (in nsIDOMDocumentTraversal aTraversal, in nsIDOMNode aDOMNode); */
NS_IMETHODIMP _MYCLASS_::TokenizeDOMNode(nsIDOMDocumentTraversal *aTraversal, nsIDOMNode *aDOMNode, nsAString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

// 3d097e0f-5435-472c-a769-49a110aa8ac2
#define FLOCK_TOKENIZER_CID \
{ 0x3d097e0f, 0x5435, 0x472c, { 0xa7, 0x69, 0x49, 0xa1, 0x10, 0xaa, 0x8a, 0xc2 } }
#define FLOCK_TOKENIZER_CLASSNAME "Flock Tokenizer"
#define FLOCK_TOKENIZER_CONTRACTID "@flock.com/tokenizer;1"

#endif /* __gen_flockITokenizer_h__ */
