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

#ifndef __gen_nsINetDataDiskCache_h__
#define __gen_nsINetDataDiskCache_h__

#include "nsINetDataCache.h"

class nsIFile; /* forward declaration */


/* starting interface:    nsINetDataDiskCache */
#define NS_INETDATADISKCACHE_IID_STR "6408e390-6f13-11d3-90c8-000064657374"

#define NS_INETDATADISKCACHE_IID \
  {0x6408e390, 0x6f13, 0x11d3, \
    { 0x90, 0xc8, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74 }}

/**
 * A network-data disk cache is used to persistently cache the responses to
 * network retrieval commands.  Each cache entry may contain both content,
 * e.g. GIF image data, and associated metadata, e.g. HTTP headers.
 */
class NS_NO_VTABLE nsINetDataDiskCache : public nsINetDataCache {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_INETDATADISKCACHE_IID)

  /**
	 * This attribute must be set before calling any other methods of this
	 * interface.
	 */
  /* attribute nsIFile diskCacheFolder; */
  NS_IMETHOD GetDiskCacheFolder(nsIFile * *aDiskCacheFolder) = 0;
  NS_IMETHOD SetDiskCacheFolder(nsIFile * aDiskCacheFolder) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINETDATADISKCACHE \
  NS_IMETHOD GetDiskCacheFolder(nsIFile * *aDiskCacheFolder); \
  NS_IMETHOD SetDiskCacheFolder(nsIFile * aDiskCacheFolder); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINETDATADISKCACHE(_to) \
  NS_IMETHOD GetDiskCacheFolder(nsIFile * *aDiskCacheFolder) { return _to ## GetDiskCacheFolder(aDiskCacheFolder); } \
  NS_IMETHOD SetDiskCacheFolder(nsIFile * aDiskCacheFolder) { return _to ## SetDiskCacheFolder(aDiskCacheFolder); } 

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

/* Header file */
class nsNetDataDiskCache : public nsINetDataDiskCache
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINETDATADISKCACHE

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsNetDataDiskCache, nsINetDataDiskCache)

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

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

/* attribute nsIFile diskCacheFolder; */
NS_IMETHODIMP nsNetDataDiskCache::GetDiskCacheFolder(nsIFile * *aDiskCacheFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNetDataDiskCache::SetDiskCacheFolder(nsIFile * aDiskCacheFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsINetDataDiskCache_h__ */
