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

#ifndef __gen_nsIRDFDOMViewerObject_h__
#define __gen_nsIRDFDOMViewerObject_h__

#include "nsISupports.h"
#include "nsIRDFResource.h"

#include "nsString.h"

/* starting interface:    nsIRDFDOMViewerObject */
#define NS_IRDFDOMVIEWEROBJECT_IID_STR "1ff615aa-7328-11d3-90a0-00a0c900d445"

#define NS_IRDFDOMVIEWEROBJECT_IID \
  {0x1ff615aa, 0x7328, 0x11d3, \
    { 0x90, 0xa0, 0x00, 0xa0, 0xc9, 0x00, 0xd4, 0x45 }}

class NS_NO_VTABLE nsIRDFDOMViewerObject : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IRDFDOMVIEWEROBJECT_IID)

  /* void setTarget (in nsIRDFResource property, in nsIRDFNode value); */
  NS_IMETHOD SetTarget(nsIRDFResource *property, nsIRDFNode *value) = 0;

  /* [noscript] void setTargetLiteral (in nsIRDFResource property, in nsStringRef str); */
  NS_IMETHOD SetTargetLiteral(nsIRDFResource *property, nsString & str) = 0;

  /* nsIRDFNode getTarget (in nsIRDFResource property); */
  NS_IMETHOD GetTarget(nsIRDFResource *property, nsIRDFNode **_retval) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIRDFDOMVIEWEROBJECT \
  NS_IMETHOD SetTarget(nsIRDFResource *property, nsIRDFNode *value); \
  NS_IMETHOD SetTargetLiteral(nsIRDFResource *property, nsString & str); \
  NS_IMETHOD GetTarget(nsIRDFResource *property, nsIRDFNode **_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIRDFDOMVIEWEROBJECT(_to) \
  NS_IMETHOD SetTarget(nsIRDFResource *property, nsIRDFNode *value) { return _to ## SetTarget(property, value); } \
  NS_IMETHOD SetTargetLiteral(nsIRDFResource *property, nsString & str) { return _to ## SetTargetLiteral(property, str); } \
  NS_IMETHOD GetTarget(nsIRDFResource *property, nsIRDFNode **_retval) { return _to ## GetTarget(property, _retval); } 

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

/* Header file */
class nsRDFDOMViewerObject : public nsIRDFDOMViewerObject
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIRDFDOMVIEWEROBJECT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsRDFDOMViewerObject, nsIRDFDOMViewerObject)

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

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

/* void setTarget (in nsIRDFResource property, in nsIRDFNode value); */
NS_IMETHODIMP nsRDFDOMViewerObject::SetTarget(nsIRDFResource *property, nsIRDFNode *value)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void setTargetLiteral (in nsIRDFResource property, in nsStringRef str); */
NS_IMETHODIMP nsRDFDOMViewerObject::SetTargetLiteral(nsIRDFResource *property, nsString & str)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIRDFNode getTarget (in nsIRDFResource property); */
NS_IMETHODIMP nsRDFDOMViewerObject::GetTarget(nsIRDFResource *property, nsIRDFNode **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIRDFDOMViewerObject_h__ */
