/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /tmp/comm-release/mailnews/db/msgdb/public/nsIDBFolderInfo.idl
 */

#ifndef __gen_nsIDBFolderInfo_h__
#define __gen_nsIDBFolderInfo_h__


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

#ifndef __gen_MailNewsTypes2_h__
#include "MailNewsTypes2.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:    nsIDBFolderInfo */
#define NS_IDBFOLDERINFO_IID_STR "538577e4-80e9-4567-8de1-3578efaef62d"

#define NS_IDBFOLDERINFO_IID \
  {0x538577e4, 0x80e9, 0x4567, \
    { 0x8d, 0xe1, 0x35, 0x78, 0xef, 0xae, 0xf6, 0x2d }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIDBFolderInfo : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDBFOLDERINFO_IID)

  /* attribute long flags; */
  NS_SCRIPTABLE NS_IMETHOD GetFlags(PRInt32 *aFlags) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetFlags(PRInt32 aFlags) = 0;

  /* long orFlags (in long aFlags); */
  NS_SCRIPTABLE NS_IMETHOD OrFlags(PRInt32 aFlags, PRInt32 *_retval NS_OUTPARAM) = 0;

  /* long andFlags (in long aFlags); */
  NS_SCRIPTABLE NS_IMETHOD AndFlags(PRInt32 aFlags, PRInt32 *_retval NS_OUTPARAM) = 0;

  /* void onKeyAdded (in nsMsgKey aNewKey); */
  NS_SCRIPTABLE NS_IMETHOD OnKeyAdded(nsMsgKey aNewKey) = 0;

  /* attribute nsMsgKey highWater; */
  NS_SCRIPTABLE NS_IMETHOD GetHighWater(nsMsgKey *aHighWater) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetHighWater(nsMsgKey aHighWater) = 0;

  /* attribute nsMsgKey expiredMark; */
  NS_SCRIPTABLE NS_IMETHOD GetExpiredMark(nsMsgKey *aExpiredMark) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetExpiredMark(nsMsgKey aExpiredMark) = 0;

  /* attribute unsigned long long folderSize; */
  NS_SCRIPTABLE NS_IMETHOD GetFolderSize(PRUint64 *aFolderSize) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetFolderSize(PRUint64 aFolderSize) = 0;

  /* attribute unsigned long folderDate; */
  NS_SCRIPTABLE NS_IMETHOD GetFolderDate(PRUint32 *aFolderDate) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetFolderDate(PRUint32 aFolderDate) = 0;

  /* void changeNumUnreadMessages (in long aDelta); */
  NS_SCRIPTABLE NS_IMETHOD ChangeNumUnreadMessages(PRInt32 aDelta) = 0;

  /* void changeNumMessages (in long aDelta); */
  NS_SCRIPTABLE NS_IMETHOD ChangeNumMessages(PRInt32 aDelta) = 0;

  /* attribute long numUnreadMessages; */
  NS_SCRIPTABLE NS_IMETHOD GetNumUnreadMessages(PRInt32 *aNumUnreadMessages) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetNumUnreadMessages(PRInt32 aNumUnreadMessages) = 0;

  /* attribute long numMessages; */
  NS_SCRIPTABLE NS_IMETHOD GetNumMessages(PRInt32 *aNumMessages) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetNumMessages(PRInt32 aNumMessages) = 0;

  /* attribute long expungedBytes; */
  NS_SCRIPTABLE NS_IMETHOD GetExpungedBytes(PRInt32 *aExpungedBytes) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetExpungedBytes(PRInt32 aExpungedBytes) = 0;

  /* attribute long imapUidValidity; */
  NS_SCRIPTABLE NS_IMETHOD GetImapUidValidity(PRInt32 *aImapUidValidity) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetImapUidValidity(PRInt32 aImapUidValidity) = 0;

  /* attribute unsigned long version; */
  NS_SCRIPTABLE NS_IMETHOD GetVersion(PRUint32 *aVersion) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetVersion(PRUint32 aVersion) = 0;

  /* attribute long imapTotalPendingMessages; */
  NS_SCRIPTABLE NS_IMETHOD GetImapTotalPendingMessages(PRInt32 *aImapTotalPendingMessages) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetImapTotalPendingMessages(PRInt32 aImapTotalPendingMessages) = 0;

  /* attribute long imapUnreadPendingMessages; */
  NS_SCRIPTABLE NS_IMETHOD GetImapUnreadPendingMessages(PRInt32 *aImapUnreadPendingMessages) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetImapUnreadPendingMessages(PRInt32 aImapUnreadPendingMessages) = 0;

  /* attribute nsMsgViewTypeValue viewType; */
  NS_SCRIPTABLE NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetViewType(nsMsgViewTypeValue aViewType) = 0;

  /* attribute nsMsgViewFlagsTypeValue viewFlags; */
  NS_SCRIPTABLE NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) = 0;

  /* attribute nsMsgViewSortTypeValue sortType; */
  NS_SCRIPTABLE NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) = 0;

  /* attribute nsMsgViewSortOrderValue sortOrder; */
  NS_SCRIPTABLE NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetSortOrder(nsMsgViewSortOrderValue aSortOrder) = 0;

  /* void changeExpungedBytes (in long aDelta); */
  NS_SCRIPTABLE NS_IMETHOD ChangeExpungedBytes(PRInt32 aDelta) = 0;

  /* ACString getCharProperty (in string propertyName); */
  NS_SCRIPTABLE NS_IMETHOD GetCharProperty(const char * propertyName, nsACString & _retval NS_OUTPARAM) = 0;

  /* void setCharProperty (in string aPropertyName, in ACString aPropertyValue); */
  NS_SCRIPTABLE NS_IMETHOD SetCharProperty(const char * aPropertyName, const nsACString & aPropertyValue) = 0;

  /* void setUint32Property (in string propertyName, in unsigned long propertyValue); */
  NS_SCRIPTABLE NS_IMETHOD SetUint32Property(const char * propertyName, PRUint32 propertyValue) = 0;

  /* unsigned long getUint32Property (in string propertyName, in unsigned long defaultValue); */
  NS_SCRIPTABLE NS_IMETHOD GetUint32Property(const char * propertyName, PRUint32 defaultValue, PRUint32 *_retval NS_OUTPARAM) = 0;

  /* boolean getBooleanProperty (in string propertyName, in boolean defaultValue); */
  NS_SCRIPTABLE NS_IMETHOD GetBooleanProperty(const char * propertyName, bool defaultValue, bool *_retval NS_OUTPARAM) = 0;

  /* void setBooleanProperty (in string propertyName, in boolean aPropertyValue); */
  NS_SCRIPTABLE NS_IMETHOD SetBooleanProperty(const char * propertyName, bool aPropertyValue) = 0;

  /* nsIDBFolderInfo GetTransferInfo (); */
  NS_SCRIPTABLE NS_IMETHOD GetTransferInfo(nsIDBFolderInfo * *_retval NS_OUTPARAM) = 0;

  /* void initFromTransferInfo (in nsIDBFolderInfo transferInfo); */
  NS_SCRIPTABLE NS_IMETHOD InitFromTransferInfo(nsIDBFolderInfo *transferInfo) = 0;

  /* attribute ACString characterSet; */
  NS_SCRIPTABLE NS_IMETHOD GetCharacterSet(nsACString & aCharacterSet) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetCharacterSet(const nsACString & aCharacterSet) = 0;

  /* readonly attribute ACString effectiveCharacterSet; */
  NS_SCRIPTABLE NS_IMETHOD GetEffectiveCharacterSet(nsACString & aEffectiveCharacterSet) = 0;

  /* attribute boolean characterSetOverride; */
  NS_SCRIPTABLE NS_IMETHOD GetCharacterSetOverride(bool *aCharacterSetOverride) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetCharacterSetOverride(bool aCharacterSetOverride) = 0;

  /* attribute AString locale; */
  NS_SCRIPTABLE NS_IMETHOD GetLocale(nsAString & aLocale) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetLocale(const nsAString & aLocale) = 0;

  /* attribute AString mailboxName; */
  NS_SCRIPTABLE NS_IMETHOD GetMailboxName(nsAString & aMailboxName) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetMailboxName(const nsAString & aMailboxName) = 0;

  /* AString getProperty (in string propertyName); */
  NS_SCRIPTABLE NS_IMETHOD GetProperty(const char * propertyName, nsAString & _retval NS_OUTPARAM) = 0;

  /* void setProperty (in string propertyName, in AString propertyStr); */
  NS_SCRIPTABLE NS_IMETHOD SetProperty(const char * propertyName, const nsAString & propertyStr) = 0;

  /* attribute string knownArtsSet; */
  NS_SCRIPTABLE NS_IMETHOD GetKnownArtsSet(char * *aKnownArtsSet) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetKnownArtsSet(const char * aKnownArtsSet) = 0;

  /* attribute ACString folderName; */
  NS_SCRIPTABLE NS_IMETHOD GetFolderName(nsACString & aFolderName) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetFolderName(const nsACString & aFolderName) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDBFolderInfo, NS_IDBFOLDERINFO_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDBFOLDERINFO \
  NS_SCRIPTABLE NS_IMETHOD GetFlags(PRInt32 *aFlags); \
  NS_SCRIPTABLE NS_IMETHOD SetFlags(PRInt32 aFlags); \
  NS_SCRIPTABLE NS_IMETHOD OrFlags(PRInt32 aFlags, PRInt32 *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD AndFlags(PRInt32 aFlags, PRInt32 *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD OnKeyAdded(nsMsgKey aNewKey); \
  NS_SCRIPTABLE NS_IMETHOD GetHighWater(nsMsgKey *aHighWater); \
  NS_SCRIPTABLE NS_IMETHOD SetHighWater(nsMsgKey aHighWater); \
  NS_SCRIPTABLE NS_IMETHOD GetExpiredMark(nsMsgKey *aExpiredMark); \
  NS_SCRIPTABLE NS_IMETHOD SetExpiredMark(nsMsgKey aExpiredMark); \
  NS_SCRIPTABLE NS_IMETHOD GetFolderSize(PRUint64 *aFolderSize); \
  NS_SCRIPTABLE NS_IMETHOD SetFolderSize(PRUint64 aFolderSize); \
  NS_SCRIPTABLE NS_IMETHOD GetFolderDate(PRUint32 *aFolderDate); \
  NS_SCRIPTABLE NS_IMETHOD SetFolderDate(PRUint32 aFolderDate); \
  NS_SCRIPTABLE NS_IMETHOD ChangeNumUnreadMessages(PRInt32 aDelta); \
  NS_SCRIPTABLE NS_IMETHOD ChangeNumMessages(PRInt32 aDelta); \
  NS_SCRIPTABLE NS_IMETHOD GetNumUnreadMessages(PRInt32 *aNumUnreadMessages); \
  NS_SCRIPTABLE NS_IMETHOD SetNumUnreadMessages(PRInt32 aNumUnreadMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetNumMessages(PRInt32 *aNumMessages); \
  NS_SCRIPTABLE NS_IMETHOD SetNumMessages(PRInt32 aNumMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetExpungedBytes(PRInt32 *aExpungedBytes); \
  NS_SCRIPTABLE NS_IMETHOD SetExpungedBytes(PRInt32 aExpungedBytes); \
  NS_SCRIPTABLE NS_IMETHOD GetImapUidValidity(PRInt32 *aImapUidValidity); \
  NS_SCRIPTABLE NS_IMETHOD SetImapUidValidity(PRInt32 aImapUidValidity); \
  NS_SCRIPTABLE NS_IMETHOD GetVersion(PRUint32 *aVersion); \
  NS_SCRIPTABLE NS_IMETHOD SetVersion(PRUint32 aVersion); \
  NS_SCRIPTABLE NS_IMETHOD GetImapTotalPendingMessages(PRInt32 *aImapTotalPendingMessages); \
  NS_SCRIPTABLE NS_IMETHOD SetImapTotalPendingMessages(PRInt32 aImapTotalPendingMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetImapUnreadPendingMessages(PRInt32 *aImapUnreadPendingMessages); \
  NS_SCRIPTABLE NS_IMETHOD SetImapUnreadPendingMessages(PRInt32 aImapUnreadPendingMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType); \
  NS_SCRIPTABLE NS_IMETHOD SetViewType(nsMsgViewTypeValue aViewType); \
  NS_SCRIPTABLE NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags); \
  NS_SCRIPTABLE NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags); \
  NS_SCRIPTABLE NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType); \
  NS_SCRIPTABLE NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType); \
  NS_SCRIPTABLE NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder); \
  NS_SCRIPTABLE NS_IMETHOD SetSortOrder(nsMsgViewSortOrderValue aSortOrder); \
  NS_SCRIPTABLE NS_IMETHOD ChangeExpungedBytes(PRInt32 aDelta); \
  NS_SCRIPTABLE NS_IMETHOD GetCharProperty(const char * propertyName, nsACString & _retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD SetCharProperty(const char * aPropertyName, const nsACString & aPropertyValue); \
  NS_SCRIPTABLE NS_IMETHOD SetUint32Property(const char * propertyName, PRUint32 propertyValue); \
  NS_SCRIPTABLE NS_IMETHOD GetUint32Property(const char * propertyName, PRUint32 defaultValue, PRUint32 *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetBooleanProperty(const char * propertyName, bool defaultValue, bool *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD SetBooleanProperty(const char * propertyName, bool aPropertyValue); \
  NS_SCRIPTABLE NS_IMETHOD GetTransferInfo(nsIDBFolderInfo * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD InitFromTransferInfo(nsIDBFolderInfo *transferInfo); \
  NS_SCRIPTABLE NS_IMETHOD GetCharacterSet(nsACString & aCharacterSet); \
  NS_SCRIPTABLE NS_IMETHOD SetCharacterSet(const nsACString & aCharacterSet); \
  NS_SCRIPTABLE NS_IMETHOD GetEffectiveCharacterSet(nsACString & aEffectiveCharacterSet); \
  NS_SCRIPTABLE NS_IMETHOD GetCharacterSetOverride(bool *aCharacterSetOverride); \
  NS_SCRIPTABLE NS_IMETHOD SetCharacterSetOverride(bool aCharacterSetOverride); \
  NS_SCRIPTABLE NS_IMETHOD GetLocale(nsAString & aLocale); \
  NS_SCRIPTABLE NS_IMETHOD SetLocale(const nsAString & aLocale); \
  NS_SCRIPTABLE NS_IMETHOD GetMailboxName(nsAString & aMailboxName); \
  NS_SCRIPTABLE NS_IMETHOD SetMailboxName(const nsAString & aMailboxName); \
  NS_SCRIPTABLE NS_IMETHOD GetProperty(const char * propertyName, nsAString & _retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD SetProperty(const char * propertyName, const nsAString & propertyStr); \
  NS_SCRIPTABLE NS_IMETHOD GetKnownArtsSet(char * *aKnownArtsSet); \
  NS_SCRIPTABLE NS_IMETHOD SetKnownArtsSet(const char * aKnownArtsSet); \
  NS_SCRIPTABLE NS_IMETHOD GetFolderName(nsACString & aFolderName); \
  NS_SCRIPTABLE NS_IMETHOD SetFolderName(const nsACString & aFolderName); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDBFOLDERINFO(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetFlags(PRInt32 *aFlags) { return _to GetFlags(aFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetFlags(PRInt32 aFlags) { return _to SetFlags(aFlags); } \
  NS_SCRIPTABLE NS_IMETHOD OrFlags(PRInt32 aFlags, PRInt32 *_retval NS_OUTPARAM) { return _to OrFlags(aFlags, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD AndFlags(PRInt32 aFlags, PRInt32 *_retval NS_OUTPARAM) { return _to AndFlags(aFlags, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD OnKeyAdded(nsMsgKey aNewKey) { return _to OnKeyAdded(aNewKey); } \
  NS_SCRIPTABLE NS_IMETHOD GetHighWater(nsMsgKey *aHighWater) { return _to GetHighWater(aHighWater); } \
  NS_SCRIPTABLE NS_IMETHOD SetHighWater(nsMsgKey aHighWater) { return _to SetHighWater(aHighWater); } \
  NS_SCRIPTABLE NS_IMETHOD GetExpiredMark(nsMsgKey *aExpiredMark) { return _to GetExpiredMark(aExpiredMark); } \
  NS_SCRIPTABLE NS_IMETHOD SetExpiredMark(nsMsgKey aExpiredMark) { return _to SetExpiredMark(aExpiredMark); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolderSize(PRUint64 *aFolderSize) { return _to GetFolderSize(aFolderSize); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderSize(PRUint64 aFolderSize) { return _to SetFolderSize(aFolderSize); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolderDate(PRUint32 *aFolderDate) { return _to GetFolderDate(aFolderDate); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderDate(PRUint32 aFolderDate) { return _to SetFolderDate(aFolderDate); } \
  NS_SCRIPTABLE NS_IMETHOD ChangeNumUnreadMessages(PRInt32 aDelta) { return _to ChangeNumUnreadMessages(aDelta); } \
  NS_SCRIPTABLE NS_IMETHOD ChangeNumMessages(PRInt32 aDelta) { return _to ChangeNumMessages(aDelta); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumUnreadMessages(PRInt32 *aNumUnreadMessages) { return _to GetNumUnreadMessages(aNumUnreadMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumUnreadMessages(PRInt32 aNumUnreadMessages) { return _to SetNumUnreadMessages(aNumUnreadMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumMessages(PRInt32 *aNumMessages) { return _to GetNumMessages(aNumMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumMessages(PRInt32 aNumMessages) { return _to SetNumMessages(aNumMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetExpungedBytes(PRInt32 *aExpungedBytes) { return _to GetExpungedBytes(aExpungedBytes); } \
  NS_SCRIPTABLE NS_IMETHOD SetExpungedBytes(PRInt32 aExpungedBytes) { return _to SetExpungedBytes(aExpungedBytes); } \
  NS_SCRIPTABLE NS_IMETHOD GetImapUidValidity(PRInt32 *aImapUidValidity) { return _to GetImapUidValidity(aImapUidValidity); } \
  NS_SCRIPTABLE NS_IMETHOD SetImapUidValidity(PRInt32 aImapUidValidity) { return _to SetImapUidValidity(aImapUidValidity); } \
  NS_SCRIPTABLE NS_IMETHOD GetVersion(PRUint32 *aVersion) { return _to GetVersion(aVersion); } \
  NS_SCRIPTABLE NS_IMETHOD SetVersion(PRUint32 aVersion) { return _to SetVersion(aVersion); } \
  NS_SCRIPTABLE NS_IMETHOD GetImapTotalPendingMessages(PRInt32 *aImapTotalPendingMessages) { return _to GetImapTotalPendingMessages(aImapTotalPendingMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetImapTotalPendingMessages(PRInt32 aImapTotalPendingMessages) { return _to SetImapTotalPendingMessages(aImapTotalPendingMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetImapUnreadPendingMessages(PRInt32 *aImapUnreadPendingMessages) { return _to GetImapUnreadPendingMessages(aImapUnreadPendingMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetImapUnreadPendingMessages(PRInt32 aImapUnreadPendingMessages) { return _to SetImapUnreadPendingMessages(aImapUnreadPendingMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) { return _to GetViewType(aViewType); } \
  NS_SCRIPTABLE NS_IMETHOD SetViewType(nsMsgViewTypeValue aViewType) { return _to SetViewType(aViewType); } \
  NS_SCRIPTABLE NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) { return _to GetViewFlags(aViewFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) { return _to SetViewFlags(aViewFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) { return _to GetSortType(aSortType); } \
  NS_SCRIPTABLE NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) { return _to SetSortType(aSortType); } \
  NS_SCRIPTABLE NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) { return _to GetSortOrder(aSortOrder); } \
  NS_SCRIPTABLE NS_IMETHOD SetSortOrder(nsMsgViewSortOrderValue aSortOrder) { return _to SetSortOrder(aSortOrder); } \
  NS_SCRIPTABLE NS_IMETHOD ChangeExpungedBytes(PRInt32 aDelta) { return _to ChangeExpungedBytes(aDelta); } \
  NS_SCRIPTABLE NS_IMETHOD GetCharProperty(const char * propertyName, nsACString & _retval NS_OUTPARAM) { return _to GetCharProperty(propertyName, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetCharProperty(const char * aPropertyName, const nsACString & aPropertyValue) { return _to SetCharProperty(aPropertyName, aPropertyValue); } \
  NS_SCRIPTABLE NS_IMETHOD SetUint32Property(const char * propertyName, PRUint32 propertyValue) { return _to SetUint32Property(propertyName, propertyValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetUint32Property(const char * propertyName, PRUint32 defaultValue, PRUint32 *_retval NS_OUTPARAM) { return _to GetUint32Property(propertyName, defaultValue, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetBooleanProperty(const char * propertyName, bool defaultValue, bool *_retval NS_OUTPARAM) { return _to GetBooleanProperty(propertyName, defaultValue, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetBooleanProperty(const char * propertyName, bool aPropertyValue) { return _to SetBooleanProperty(propertyName, aPropertyValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetTransferInfo(nsIDBFolderInfo * *_retval NS_OUTPARAM) { return _to GetTransferInfo(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD InitFromTransferInfo(nsIDBFolderInfo *transferInfo) { return _to InitFromTransferInfo(transferInfo); } \
  NS_SCRIPTABLE NS_IMETHOD GetCharacterSet(nsACString & aCharacterSet) { return _to GetCharacterSet(aCharacterSet); } \
  NS_SCRIPTABLE NS_IMETHOD SetCharacterSet(const nsACString & aCharacterSet) { return _to SetCharacterSet(aCharacterSet); } \
  NS_SCRIPTABLE NS_IMETHOD GetEffectiveCharacterSet(nsACString & aEffectiveCharacterSet) { return _to GetEffectiveCharacterSet(aEffectiveCharacterSet); } \
  NS_SCRIPTABLE NS_IMETHOD GetCharacterSetOverride(bool *aCharacterSetOverride) { return _to GetCharacterSetOverride(aCharacterSetOverride); } \
  NS_SCRIPTABLE NS_IMETHOD SetCharacterSetOverride(bool aCharacterSetOverride) { return _to SetCharacterSetOverride(aCharacterSetOverride); } \
  NS_SCRIPTABLE NS_IMETHOD GetLocale(nsAString & aLocale) { return _to GetLocale(aLocale); } \
  NS_SCRIPTABLE NS_IMETHOD SetLocale(const nsAString & aLocale) { return _to SetLocale(aLocale); } \
  NS_SCRIPTABLE NS_IMETHOD GetMailboxName(nsAString & aMailboxName) { return _to GetMailboxName(aMailboxName); } \
  NS_SCRIPTABLE NS_IMETHOD SetMailboxName(const nsAString & aMailboxName) { return _to SetMailboxName(aMailboxName); } \
  NS_SCRIPTABLE NS_IMETHOD GetProperty(const char * propertyName, nsAString & _retval NS_OUTPARAM) { return _to GetProperty(propertyName, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetProperty(const char * propertyName, const nsAString & propertyStr) { return _to SetProperty(propertyName, propertyStr); } \
  NS_SCRIPTABLE NS_IMETHOD GetKnownArtsSet(char * *aKnownArtsSet) { return _to GetKnownArtsSet(aKnownArtsSet); } \
  NS_SCRIPTABLE NS_IMETHOD SetKnownArtsSet(const char * aKnownArtsSet) { return _to SetKnownArtsSet(aKnownArtsSet); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolderName(nsACString & aFolderName) { return _to GetFolderName(aFolderName); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderName(const nsACString & aFolderName) { return _to SetFolderName(aFolderName); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDBFOLDERINFO(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetFlags(PRInt32 *aFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFlags(aFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetFlags(PRInt32 aFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFlags(aFlags); } \
  NS_SCRIPTABLE NS_IMETHOD OrFlags(PRInt32 aFlags, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->OrFlags(aFlags, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD AndFlags(PRInt32 aFlags, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->AndFlags(aFlags, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD OnKeyAdded(nsMsgKey aNewKey) { return !_to ? NS_ERROR_NULL_POINTER : _to->OnKeyAdded(aNewKey); } \
  NS_SCRIPTABLE NS_IMETHOD GetHighWater(nsMsgKey *aHighWater) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHighWater(aHighWater); } \
  NS_SCRIPTABLE NS_IMETHOD SetHighWater(nsMsgKey aHighWater) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHighWater(aHighWater); } \
  NS_SCRIPTABLE NS_IMETHOD GetExpiredMark(nsMsgKey *aExpiredMark) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpiredMark(aExpiredMark); } \
  NS_SCRIPTABLE NS_IMETHOD SetExpiredMark(nsMsgKey aExpiredMark) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExpiredMark(aExpiredMark); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolderSize(PRUint64 *aFolderSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolderSize(aFolderSize); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderSize(PRUint64 aFolderSize) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderSize(aFolderSize); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolderDate(PRUint32 *aFolderDate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolderDate(aFolderDate); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderDate(PRUint32 aFolderDate) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderDate(aFolderDate); } \
  NS_SCRIPTABLE NS_IMETHOD ChangeNumUnreadMessages(PRInt32 aDelta) { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangeNumUnreadMessages(aDelta); } \
  NS_SCRIPTABLE NS_IMETHOD ChangeNumMessages(PRInt32 aDelta) { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangeNumMessages(aDelta); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumUnreadMessages(PRInt32 *aNumUnreadMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumUnreadMessages(aNumUnreadMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumUnreadMessages(PRInt32 aNumUnreadMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumUnreadMessages(aNumUnreadMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumMessages(PRInt32 *aNumMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumMessages(aNumMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumMessages(PRInt32 aNumMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumMessages(aNumMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetExpungedBytes(PRInt32 *aExpungedBytes) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetExpungedBytes(aExpungedBytes); } \
  NS_SCRIPTABLE NS_IMETHOD SetExpungedBytes(PRInt32 aExpungedBytes) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetExpungedBytes(aExpungedBytes); } \
  NS_SCRIPTABLE NS_IMETHOD GetImapUidValidity(PRInt32 *aImapUidValidity) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapUidValidity(aImapUidValidity); } \
  NS_SCRIPTABLE NS_IMETHOD SetImapUidValidity(PRInt32 aImapUidValidity) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapUidValidity(aImapUidValidity); } \
  NS_SCRIPTABLE NS_IMETHOD GetVersion(PRUint32 *aVersion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersion(aVersion); } \
  NS_SCRIPTABLE NS_IMETHOD SetVersion(PRUint32 aVersion) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVersion(aVersion); } \
  NS_SCRIPTABLE NS_IMETHOD GetImapTotalPendingMessages(PRInt32 *aImapTotalPendingMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapTotalPendingMessages(aImapTotalPendingMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetImapTotalPendingMessages(PRInt32 aImapTotalPendingMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapTotalPendingMessages(aImapTotalPendingMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetImapUnreadPendingMessages(PRInt32 *aImapUnreadPendingMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImapUnreadPendingMessages(aImapUnreadPendingMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetImapUnreadPendingMessages(PRInt32 aImapUnreadPendingMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImapUnreadPendingMessages(aImapUnreadPendingMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetViewType(nsMsgViewTypeValue *aViewType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewType(aViewType); } \
  NS_SCRIPTABLE NS_IMETHOD SetViewType(nsMsgViewTypeValue aViewType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetViewType(aViewType); } \
  NS_SCRIPTABLE NS_IMETHOD GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewFlags(aViewFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetViewFlags(aViewFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetSortType(nsMsgViewSortTypeValue *aSortType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSortType(aSortType); } \
  NS_SCRIPTABLE NS_IMETHOD SetSortType(nsMsgViewSortTypeValue aSortType) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSortType(aSortType); } \
  NS_SCRIPTABLE NS_IMETHOD GetSortOrder(nsMsgViewSortOrderValue *aSortOrder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSortOrder(aSortOrder); } \
  NS_SCRIPTABLE NS_IMETHOD SetSortOrder(nsMsgViewSortOrderValue aSortOrder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSortOrder(aSortOrder); } \
  NS_SCRIPTABLE NS_IMETHOD ChangeExpungedBytes(PRInt32 aDelta) { return !_to ? NS_ERROR_NULL_POINTER : _to->ChangeExpungedBytes(aDelta); } \
  NS_SCRIPTABLE NS_IMETHOD GetCharProperty(const char * propertyName, nsACString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharProperty(propertyName, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetCharProperty(const char * aPropertyName, const nsACString & aPropertyValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharProperty(aPropertyName, aPropertyValue); } \
  NS_SCRIPTABLE NS_IMETHOD SetUint32Property(const char * propertyName, PRUint32 propertyValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUint32Property(propertyName, propertyValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetUint32Property(const char * propertyName, PRUint32 defaultValue, PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUint32Property(propertyName, defaultValue, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetBooleanProperty(const char * propertyName, bool defaultValue, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBooleanProperty(propertyName, defaultValue, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetBooleanProperty(const char * propertyName, bool aPropertyValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBooleanProperty(propertyName, aPropertyValue); } \
  NS_SCRIPTABLE NS_IMETHOD GetTransferInfo(nsIDBFolderInfo * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTransferInfo(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD InitFromTransferInfo(nsIDBFolderInfo *transferInfo) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitFromTransferInfo(transferInfo); } \
  NS_SCRIPTABLE NS_IMETHOD GetCharacterSet(nsACString & aCharacterSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharacterSet(aCharacterSet); } \
  NS_SCRIPTABLE NS_IMETHOD SetCharacterSet(const nsACString & aCharacterSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharacterSet(aCharacterSet); } \
  NS_SCRIPTABLE NS_IMETHOD GetEffectiveCharacterSet(nsACString & aEffectiveCharacterSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEffectiveCharacterSet(aEffectiveCharacterSet); } \
  NS_SCRIPTABLE NS_IMETHOD GetCharacterSetOverride(bool *aCharacterSetOverride) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCharacterSetOverride(aCharacterSetOverride); } \
  NS_SCRIPTABLE NS_IMETHOD SetCharacterSetOverride(bool aCharacterSetOverride) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCharacterSetOverride(aCharacterSetOverride); } \
  NS_SCRIPTABLE NS_IMETHOD GetLocale(nsAString & aLocale) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocale(aLocale); } \
  NS_SCRIPTABLE NS_IMETHOD SetLocale(const nsAString & aLocale) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLocale(aLocale); } \
  NS_SCRIPTABLE NS_IMETHOD GetMailboxName(nsAString & aMailboxName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMailboxName(aMailboxName); } \
  NS_SCRIPTABLE NS_IMETHOD SetMailboxName(const nsAString & aMailboxName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMailboxName(aMailboxName); } \
  NS_SCRIPTABLE NS_IMETHOD GetProperty(const char * propertyName, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProperty(propertyName, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetProperty(const char * propertyName, const nsAString & propertyStr) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProperty(propertyName, propertyStr); } \
  NS_SCRIPTABLE NS_IMETHOD GetKnownArtsSet(char * *aKnownArtsSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKnownArtsSet(aKnownArtsSet); } \
  NS_SCRIPTABLE NS_IMETHOD SetKnownArtsSet(const char * aKnownArtsSet) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetKnownArtsSet(aKnownArtsSet); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolderName(nsACString & aFolderName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolderName(aFolderName); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderName(const nsACString & aFolderName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderName(aFolderName); } 

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

/* Header file */
class nsDBFolderInfo : public nsIDBFolderInfo
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDBFOLDERINFO

  nsDBFolderInfo();

private:
  ~nsDBFolderInfo();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDBFolderInfo, nsIDBFolderInfo)

nsDBFolderInfo::nsDBFolderInfo()
{
  /* member initializers and constructor code */
}

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

/* attribute long flags; */
NS_IMETHODIMP nsDBFolderInfo::GetFlags(PRInt32 *aFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetFlags(PRInt32 aFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long orFlags (in long aFlags); */
NS_IMETHODIMP nsDBFolderInfo::OrFlags(PRInt32 aFlags, PRInt32 *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long andFlags (in long aFlags); */
NS_IMETHODIMP nsDBFolderInfo::AndFlags(PRInt32 aFlags, PRInt32 *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void onKeyAdded (in nsMsgKey aNewKey); */
NS_IMETHODIMP nsDBFolderInfo::OnKeyAdded(nsMsgKey aNewKey)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsMsgKey highWater; */
NS_IMETHODIMP nsDBFolderInfo::GetHighWater(nsMsgKey *aHighWater)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetHighWater(nsMsgKey aHighWater)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsMsgKey expiredMark; */
NS_IMETHODIMP nsDBFolderInfo::GetExpiredMark(nsMsgKey *aExpiredMark)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetExpiredMark(nsMsgKey aExpiredMark)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long long folderSize; */
NS_IMETHODIMP nsDBFolderInfo::GetFolderSize(PRUint64 *aFolderSize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetFolderSize(PRUint64 aFolderSize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long folderDate; */
NS_IMETHODIMP nsDBFolderInfo::GetFolderDate(PRUint32 *aFolderDate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetFolderDate(PRUint32 aFolderDate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void changeNumUnreadMessages (in long aDelta); */
NS_IMETHODIMP nsDBFolderInfo::ChangeNumUnreadMessages(PRInt32 aDelta)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void changeNumMessages (in long aDelta); */
NS_IMETHODIMP nsDBFolderInfo::ChangeNumMessages(PRInt32 aDelta)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long numUnreadMessages; */
NS_IMETHODIMP nsDBFolderInfo::GetNumUnreadMessages(PRInt32 *aNumUnreadMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetNumUnreadMessages(PRInt32 aNumUnreadMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long numMessages; */
NS_IMETHODIMP nsDBFolderInfo::GetNumMessages(PRInt32 *aNumMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetNumMessages(PRInt32 aNumMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long expungedBytes; */
NS_IMETHODIMP nsDBFolderInfo::GetExpungedBytes(PRInt32 *aExpungedBytes)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetExpungedBytes(PRInt32 aExpungedBytes)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long imapUidValidity; */
NS_IMETHODIMP nsDBFolderInfo::GetImapUidValidity(PRInt32 *aImapUidValidity)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetImapUidValidity(PRInt32 aImapUidValidity)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long version; */
NS_IMETHODIMP nsDBFolderInfo::GetVersion(PRUint32 *aVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetVersion(PRUint32 aVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long imapTotalPendingMessages; */
NS_IMETHODIMP nsDBFolderInfo::GetImapTotalPendingMessages(PRInt32 *aImapTotalPendingMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetImapTotalPendingMessages(PRInt32 aImapTotalPendingMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long imapUnreadPendingMessages; */
NS_IMETHODIMP nsDBFolderInfo::GetImapUnreadPendingMessages(PRInt32 *aImapUnreadPendingMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetImapUnreadPendingMessages(PRInt32 aImapUnreadPendingMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsMsgViewTypeValue viewType; */
NS_IMETHODIMP nsDBFolderInfo::GetViewType(nsMsgViewTypeValue *aViewType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetViewType(nsMsgViewTypeValue aViewType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsMsgViewFlagsTypeValue viewFlags; */
NS_IMETHODIMP nsDBFolderInfo::GetViewFlags(nsMsgViewFlagsTypeValue *aViewFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetViewFlags(nsMsgViewFlagsTypeValue aViewFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsMsgViewSortTypeValue sortType; */
NS_IMETHODIMP nsDBFolderInfo::GetSortType(nsMsgViewSortTypeValue *aSortType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetSortType(nsMsgViewSortTypeValue aSortType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsMsgViewSortOrderValue sortOrder; */
NS_IMETHODIMP nsDBFolderInfo::GetSortOrder(nsMsgViewSortOrderValue *aSortOrder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetSortOrder(nsMsgViewSortOrderValue aSortOrder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void changeExpungedBytes (in long aDelta); */
NS_IMETHODIMP nsDBFolderInfo::ChangeExpungedBytes(PRInt32 aDelta)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* ACString getCharProperty (in string propertyName); */
NS_IMETHODIMP nsDBFolderInfo::GetCharProperty(const char * propertyName, nsACString & _retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setCharProperty (in string aPropertyName, in ACString aPropertyValue); */
NS_IMETHODIMP nsDBFolderInfo::SetCharProperty(const char * aPropertyName, const nsACString & aPropertyValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setUint32Property (in string propertyName, in unsigned long propertyValue); */
NS_IMETHODIMP nsDBFolderInfo::SetUint32Property(const char * propertyName, PRUint32 propertyValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned long getUint32Property (in string propertyName, in unsigned long defaultValue); */
NS_IMETHODIMP nsDBFolderInfo::GetUint32Property(const char * propertyName, PRUint32 defaultValue, PRUint32 *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean getBooleanProperty (in string propertyName, in boolean defaultValue); */
NS_IMETHODIMP nsDBFolderInfo::GetBooleanProperty(const char * propertyName, bool defaultValue, bool *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setBooleanProperty (in string propertyName, in boolean aPropertyValue); */
NS_IMETHODIMP nsDBFolderInfo::SetBooleanProperty(const char * propertyName, bool aPropertyValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIDBFolderInfo GetTransferInfo (); */
NS_IMETHODIMP nsDBFolderInfo::GetTransferInfo(nsIDBFolderInfo * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void initFromTransferInfo (in nsIDBFolderInfo transferInfo); */
NS_IMETHODIMP nsDBFolderInfo::InitFromTransferInfo(nsIDBFolderInfo *transferInfo)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString characterSet; */
NS_IMETHODIMP nsDBFolderInfo::GetCharacterSet(nsACString & aCharacterSet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetCharacterSet(const nsACString & aCharacterSet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute ACString effectiveCharacterSet; */
NS_IMETHODIMP nsDBFolderInfo::GetEffectiveCharacterSet(nsACString & aEffectiveCharacterSet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean characterSetOverride; */
NS_IMETHODIMP nsDBFolderInfo::GetCharacterSetOverride(bool *aCharacterSetOverride)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetCharacterSetOverride(bool aCharacterSetOverride)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString locale; */
NS_IMETHODIMP nsDBFolderInfo::GetLocale(nsAString & aLocale)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetLocale(const nsAString & aLocale)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString mailboxName; */
NS_IMETHODIMP nsDBFolderInfo::GetMailboxName(nsAString & aMailboxName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetMailboxName(const nsAString & aMailboxName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AString getProperty (in string propertyName); */
NS_IMETHODIMP nsDBFolderInfo::GetProperty(const char * propertyName, nsAString & _retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setProperty (in string propertyName, in AString propertyStr); */
NS_IMETHODIMP nsDBFolderInfo::SetProperty(const char * propertyName, const nsAString & propertyStr)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute string knownArtsSet; */
NS_IMETHODIMP nsDBFolderInfo::GetKnownArtsSet(char * *aKnownArtsSet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetKnownArtsSet(const char * aKnownArtsSet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString folderName; */
NS_IMETHODIMP nsDBFolderInfo::GetFolderName(nsACString & aFolderName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDBFolderInfo::SetFolderName(const nsACString & aFolderName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDBFolderInfo_h__ */
