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

#ifndef __gen_nsIDOMDSResource_h__
#define __gen_nsIDOMDSResource_h__


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

#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif

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

/* starting interface:    nsIDOMDSResource */
#define NS_IDOMDSRESOURCE_IID_STR "f092d67c-0dbe-472e-82ea-bf70c9649a8a"

#define NS_IDOMDSRESOURCE_IID \
  {0xf092d67c, 0x0dbe, 0x472e, \
    { 0x82, 0xea, 0xbf, 0x70, 0xc9, 0x64, 0x9a, 0x8a }}

class NS_NO_VTABLE nsIDOMDSResource : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMDSRESOURCE_IID)

  /* attribute nsISupports object; */
  NS_IMETHOD GetObject(nsISupports * *aObject) = 0;
  NS_IMETHOD SetObject(nsISupports * aObject) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMDSRESOURCE \
  NS_IMETHOD GetObject(nsISupports * *aObject); \
  NS_IMETHOD SetObject(nsISupports * aObject); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMDSRESOURCE(_to) \
  NS_IMETHOD GetObject(nsISupports * *aObject) { return _to ## GetObject(aObject); } \
  NS_IMETHOD SetObject(nsISupports * aObject) { return _to ## SetObject(aObject); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMDSRESOURCE(_to) \
  NS_IMETHOD GetObject(nsISupports * *aObject) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetObject(aObject); } \
  NS_IMETHOD SetObject(nsISupports * aObject) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->SetObject(aObject); } 

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

/* Header file */
class nsDOMDSResource : public nsIDOMDSResource
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMDSRESOURCE

  nsDOMDSResource();
  virtual ~nsDOMDSResource();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMDSResource, nsIDOMDSResource)

nsDOMDSResource::nsDOMDSResource()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

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

/* attribute nsISupports object; */
NS_IMETHODIMP nsDOMDSResource::GetObject(nsISupports * *aObject)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMDSResource::SetObject(nsISupports * aObject)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* {76C9161F-4C4C-4c1b-8F96-64587315C79E} */
#define NS_DOMDSRESOURCE_CID \
{ 0x76c9161f, 0x4c4c, 0x4c1b, { 0x8f, 0x96, 0x64, 0x58, 0x73, 0x15, 0xc7, 0x9e } }

#endif /* __gen_nsIDOMDSResource_h__ */
