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

#ifndef __gen_nsINNTPCategoryContainer_h__
#define __gen_nsINNTPCategoryContainer_h__

#include "nsISupports.h"
#include "nsINNTPNewsgroup.h"

class nsINNTPNewsgroup; /* forward declaration */


/* starting interface:    nsINNTPCategoryContainer */
#define NS_INNTPCATEGORYCONTAINER_IID_STR "cb36d510-b249-11d2-b7ef-00805f05ffa5"

#define NS_INNTPCATEGORYCONTAINER_IID \
  {0xcb36d510, 0xb249, 0x11d2, \
    { 0xb7, 0xef, 0x00, 0x80, 0x5f, 0x05, 0xff, 0xa5 }}

class NS_NO_VTABLE nsINNTPCategoryContainer : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_INNTPCATEGORYCONTAINER_IID)

  /* attribute nsINNTPNewsgroup rootCategory; */
  NS_IMETHOD GetRootCategory(nsINNTPNewsgroup * *aRootCategory) = 0;
  NS_IMETHOD SetRootCategory(nsINNTPNewsgroup * aRootCategory) = 0;

  /* void Initialize (in nsINNTPNewsgroup rootCategory); */
  NS_IMETHOD Initialize(nsINNTPNewsgroup *rootCategory) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINNTPCATEGORYCONTAINER \
  NS_IMETHOD GetRootCategory(nsINNTPNewsgroup * *aRootCategory); \
  NS_IMETHOD SetRootCategory(nsINNTPNewsgroup * aRootCategory); \
  NS_IMETHOD Initialize(nsINNTPNewsgroup *rootCategory); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINNTPCATEGORYCONTAINER(_to) \
  NS_IMETHOD GetRootCategory(nsINNTPNewsgroup * *aRootCategory) { return _to ## GetRootCategory(aRootCategory); } \
  NS_IMETHOD SetRootCategory(nsINNTPNewsgroup * aRootCategory) { return _to ## SetRootCategory(aRootCategory); } \
  NS_IMETHOD Initialize(nsINNTPNewsgroup *rootCategory) { return _to ## Initialize(rootCategory); } 

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

/* Header file */
class nsNNTPCategoryContainer : public nsINNTPCategoryContainer
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINNTPCATEGORYCONTAINER

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsNNTPCategoryContainer, nsINNTPCategoryContainer)

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

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

/* attribute nsINNTPNewsgroup rootCategory; */
NS_IMETHODIMP nsNNTPCategoryContainer::GetRootCategory(nsINNTPNewsgroup * *aRootCategory)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNNTPCategoryContainer::SetRootCategory(nsINNTPNewsgroup * aRootCategory)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void Initialize (in nsINNTPNewsgroup rootCategory); */
NS_IMETHODIMP nsNNTPCategoryContainer::Initialize(nsINNTPNewsgroup *rootCategory)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsINNTPCategoryContainer_h__ */
