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

#ifndef __gen_nsIConnectionCache_h__
#define __gen_nsIConnectionCache_h__

#include "nsISupports.h"

class nsConnectionCacheObj;

/* starting interface:    nsIConnectionCache */
#define NS_ICONNECTIONCACHE_IID_STR "d40bb480-8709-11d3-a184-0050041caf44"

#define NS_ICONNECTIONCACHE_IID \
  {0xd40bb480, 0x8709, 0x11d3, \
    { 0xa1, 0x84, 0x00, 0x50, 0x04, 0x1c, 0xaf, 0x44 }}

class NS_NO_VTABLE nsIConnectionCache : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_ICONNECTIONCACHE_IID)

  /* nsConnectionCacheObj RemoveConn (in string aKey); */
  NS_IMETHOD RemoveConn(const char *aKey, nsConnectionCacheObj * *_retval) = 0;

  /* void InsertConn (in string aKey, in nsConnectionCacheObj aConn); */
  NS_IMETHOD InsertConn(const char *aKey, nsConnectionCacheObj * aConn) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICONNECTIONCACHE \
  NS_IMETHOD RemoveConn(const char *aKey, nsConnectionCacheObj * *_retval); \
  NS_IMETHOD InsertConn(const char *aKey, nsConnectionCacheObj * aConn); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICONNECTIONCACHE(_to) \
  NS_IMETHOD RemoveConn(const char *aKey, nsConnectionCacheObj * *_retval) { return _to ## RemoveConn(aKey, _retval); } \
  NS_IMETHOD InsertConn(const char *aKey, nsConnectionCacheObj * aConn) { return _to ## InsertConn(aKey, aConn); } 

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

/* Header file */
class nsConnectionCache : public nsIConnectionCache
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICONNECTIONCACHE

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsConnectionCache, nsIConnectionCache)

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

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

/* nsConnectionCacheObj RemoveConn (in string aKey); */
NS_IMETHODIMP nsConnectionCache::RemoveConn(const char *aKey, nsConnectionCacheObj * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void InsertConn (in string aKey, in nsConnectionCacheObj aConn); */
NS_IMETHODIMP nsConnectionCache::InsertConn(const char *aKey, nsConnectionCacheObj * aConn)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIConnectionCache_h__ */
