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

#ifndef __gen_flockIRDFSQLDataSource_h__
#define __gen_flockIRDFSQLDataSource_h__


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

#ifndef __gen_nsIURI_h__
#include "nsIURI.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:    flockIRDFSQLDataSource */
#define FLOCKIRDFSQLDATASOURCE_IID_STR "4e9a4f87-ad6d-4f29-b6f9-d16378a73683"

#define FLOCKIRDFSQLDATASOURCE_IID \
  {0x4e9a4f87, 0xad6d, 0x4f29, \
    { 0xb6, 0xf9, 0xd1, 0x63, 0x78, 0xa7, 0x36, 0x83 }}

class NS_NO_VTABLE flockIRDFSQLDataSource : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(FLOCKIRDFSQLDATASOURCE_IID)

  /**
   * Import an RDF/XML datasource into the SQL-backed RDF datasource.
   * @param aURI the URI to load
   */
  /* void importRDFXML (in nsIURI aURI); */
  NS_IMETHOD ImportRDFXML(nsIURI *aURI) = 0;

  /**
   * Explicitly release any resources used by the datasource.
   */
  /* void shutdown (); */
  NS_IMETHOD Shutdown(void) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_FLOCKIRDFSQLDATASOURCE \
  NS_IMETHOD ImportRDFXML(nsIURI *aURI); \
  NS_IMETHOD Shutdown(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_FLOCKIRDFSQLDATASOURCE(_to) \
  NS_IMETHOD ImportRDFXML(nsIURI *aURI) { return _to ImportRDFXML(aURI); } \
  NS_IMETHOD Shutdown(void) { return _to Shutdown(); } 

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

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

/* Header file */
class _MYCLASS_ : public flockIRDFSQLDataSource
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_FLOCKIRDFSQLDATASOURCE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* void importRDFXML (in nsIURI aURI); */
NS_IMETHODIMP _MYCLASS_::ImportRDFXML(nsIURI *aURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void shutdown (); */
NS_IMETHODIMP _MYCLASS_::Shutdown()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_flockIRDFSQLDataSource_h__ */
