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

#ifndef __gen_nsIMsgFolderCacheElement_h__
#define __gen_nsIMsgFolderCacheElement_h__


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

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

/* starting interface:    nsIMsgFolderCacheElement */
#define NS_IMSGFOLDERCACHEELEMENT_IID_STR "c3096590-3983-11d3-8d76-00805f8a6617"

#define NS_IMSGFOLDERCACHEELEMENT_IID \
  {0xc3096590, 0x3983, 0x11d3, \
    { 0x8d, 0x76, 0x00, 0x80, 0x5f, 0x8a, 0x66, 0x17 }}

class NS_NO_VTABLE nsIMsgFolderCacheElement : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMSGFOLDERCACHEELEMENT_IID)

  /* attribute string Key; */
  NS_IMETHOD GetKey(char * *aKey) = 0;
  NS_IMETHOD SetKey(const char * aKey) = 0;

  /* string GetStringProperty (in string propertyName); */
  NS_IMETHOD GetStringProperty(const char *propertyName, char **_retval) = 0;

  /* long GetInt32Property (in string propertyName); */
  NS_IMETHOD GetInt32Property(const char *propertyName, PRInt32 *_retval) = 0;

  /* void SetStringProperty (in string propertyName, in string propertyValue); */
  NS_IMETHOD SetStringProperty(const char *propertyName, const char *propertyValue) = 0;

  /* void SetInt32Property (in string propertyName, in long propertyValue); */
  NS_IMETHOD SetInt32Property(const char *propertyName, PRInt32 propertyValue) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGFOLDERCACHEELEMENT \
  NS_IMETHOD GetKey(char * *aKey); \
  NS_IMETHOD SetKey(const char * aKey); \
  NS_IMETHOD GetStringProperty(const char *propertyName, char **_retval); \
  NS_IMETHOD GetInt32Property(const char *propertyName, PRInt32 *_retval); \
  NS_IMETHOD SetStringProperty(const char *propertyName, const char *propertyValue); \
  NS_IMETHOD SetInt32Property(const char *propertyName, PRInt32 propertyValue); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGFOLDERCACHEELEMENT(_to) \
  NS_IMETHOD GetKey(char * *aKey) { return _to GetKey(aKey); } \
  NS_IMETHOD SetKey(const char * aKey) { return _to SetKey(aKey); } \
  NS_IMETHOD GetStringProperty(const char *propertyName, char **_retval) { return _to GetStringProperty(propertyName, _retval); } \
  NS_IMETHOD GetInt32Property(const char *propertyName, PRInt32 *_retval) { return _to GetInt32Property(propertyName, _retval); } \
  NS_IMETHOD SetStringProperty(const char *propertyName, const char *propertyValue) { return _to SetStringProperty(propertyName, propertyValue); } \
  NS_IMETHOD SetInt32Property(const char *propertyName, PRInt32 propertyValue) { return _to SetInt32Property(propertyName, propertyValue); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGFOLDERCACHEELEMENT(_to) \
  NS_IMETHOD GetKey(char * *aKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKey(aKey); } \
  NS_IMETHOD SetKey(const char * aKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetKey(aKey); } \
  NS_IMETHOD GetStringProperty(const char *propertyName, char **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringProperty(propertyName, _retval); } \
  NS_IMETHOD GetInt32Property(const char *propertyName, PRInt32 *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInt32Property(propertyName, _retval); } \
  NS_IMETHOD SetStringProperty(const char *propertyName, const char *propertyValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStringProperty(propertyName, propertyValue); } \
  NS_IMETHOD SetInt32Property(const char *propertyName, PRInt32 propertyValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInt32Property(propertyName, propertyValue); } 

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

/* Header file */
class nsMsgFolderCacheElement : public nsIMsgFolderCacheElement
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGFOLDERCACHEELEMENT

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMsgFolderCacheElement, nsIMsgFolderCacheElement)

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

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

/* attribute string Key; */
NS_IMETHODIMP nsMsgFolderCacheElement::GetKey(char * *aKey)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFolderCacheElement::SetKey(const char * aKey)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string GetStringProperty (in string propertyName); */
NS_IMETHODIMP nsMsgFolderCacheElement::GetStringProperty(const char *propertyName, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long GetInt32Property (in string propertyName); */
NS_IMETHODIMP nsMsgFolderCacheElement::GetInt32Property(const char *propertyName, PRInt32 *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SetStringProperty (in string propertyName, in string propertyValue); */
NS_IMETHODIMP nsMsgFolderCacheElement::SetStringProperty(const char *propertyName, const char *propertyValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SetInt32Property (in string propertyName, in long propertyValue); */
NS_IMETHODIMP nsMsgFolderCacheElement::SetInt32Property(const char *propertyName, PRInt32 propertyValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgFolderCacheElement_h__ */
