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

#ifndef __gen_flockIBookmarksService_h__
#define __gen_flockIBookmarksService_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
class nsIRDFResource; /* forward declaration */

class nsIRDFDataSource; /* forward declaration */

class nsIFile; /* forward declaration */


/* starting interface:    flockIBookmarksService */
#define FLOCKIBOOKMARKSSERVICE_IID_STR "2661c0b9-d886-4c16-a9f6-b2edb0a1129f"

#define FLOCKIBOOKMARKSSERVICE_IID \
  {0x2661c0b9, 0xd886, 0x4c16, \
    { 0xa9, 0xf6, 0xb2, 0xed, 0xb0, 0xa1, 0x12, 0x9f }}

class NS_NO_VTABLE flockIBookmarksService : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIBOOKMARKSSERVICE_IID)

  /* void WriteBookmarks (in nsIFile aBookmarksFile, in nsIRDFDataSource aDataSource, in nsIRDFResource aRoot); */
  NS_IMETHOD WriteBookmarks(nsIFile *aBookmarksFile, nsIRDFDataSource *aDataSource, nsIRDFResource *aRoot) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIBOOKMARKSSERVICE \
  NS_IMETHOD WriteBookmarks(nsIFile *aBookmarksFile, nsIRDFDataSource *aDataSource, nsIRDFResource *aRoot); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIBOOKMARKSSERVICE(_to) \
  NS_IMETHOD WriteBookmarks(nsIFile *aBookmarksFile, nsIRDFDataSource *aDataSource, nsIRDFResource *aRoot) { return _to WriteBookmarks(aBookmarksFile, aDataSource, aRoot); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_FLOCKIBOOKMARKSSERVICE(_to) \
  NS_IMETHOD WriteBookmarks(nsIFile *aBookmarksFile, nsIRDFDataSource *aDataSource, nsIRDFResource *aRoot) { return !_to ? NS_ERROR_NULL_POINTER : _to->WriteBookmarks(aBookmarksFile, aDataSource, aRoot); } 

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

/* Header file */
class _MYCLASS_ : public flockIBookmarksService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIBOOKMARKSSERVICE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void WriteBookmarks (in nsIFile aBookmarksFile, in nsIRDFDataSource aDataSource, in nsIRDFResource aRoot); */
NS_IMETHODIMP _MYCLASS_::WriteBookmarks(nsIFile *aBookmarksFile, nsIRDFDataSource *aDataSource, nsIRDFResource *aRoot)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIBookmarksService_h__ */
