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

#ifndef __gen_nsIMsgFilter_h__
#define __gen_nsIMsgFilter_h__


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

#ifndef __gen_nsMsgFilterCore_h__
#include "nsMsgFilterCore.h"
#endif

#ifndef __gen_nsISupportsArray_h__
#include "nsISupportsArray.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIArray; /* forward declaration */

class nsIOutputStream; /* forward declaration */

class nsIMsgFilterCustomAction; /* forward declaration */

class nsIMsgFilterList; /* forward declaration */

class nsIMsgSearchScopeTerm; /* forward declaration */

class nsIMsgSearchValue; /* forward declaration */

class nsIMsgSearchTerm; /* forward declaration */


/* starting interface:    nsIMsgRuleAction */
#define NS_IMSGRULEACTION_IID_STR "36d2748e-9246-44f3-bb74-46cbb0b8c23a"

#define NS_IMSGRULEACTION_IID \
  {0x36d2748e, 0x9246, 0x44f3, \
    { 0xbb, 0x74, 0x46, 0xcb, 0xb0, 0xb8, 0xc2, 0x3a }}

class NS_NO_VTABLE nsIMsgRuleAction : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGRULEACTION_IID)

  /* attribute nsMsgRuleActionType type; */
  NS_IMETHOD GetType(nsMsgRuleActionType *aType) = 0;
  NS_IMETHOD SetType(nsMsgRuleActionType aType) = 0;

  /* attribute nsMsgPriorityValue priority; */
  NS_IMETHOD GetPriority(nsMsgPriorityValue *aPriority) = 0;
  NS_IMETHOD SetPriority(nsMsgPriorityValue aPriority) = 0;

  /* attribute ACString targetFolderUri; */
  NS_IMETHOD GetTargetFolderUri(nsACString & aTargetFolderUri) = 0;
  NS_IMETHOD SetTargetFolderUri(const nsACString & aTargetFolderUri) = 0;

  /* attribute nsMsgLabelValue label; */
  NS_IMETHOD GetLabel(nsMsgLabelValue *aLabel) = 0;
  NS_IMETHOD SetLabel(nsMsgLabelValue aLabel) = 0;

  /* attribute long junkScore; */
  NS_IMETHOD GetJunkScore(int32_t *aJunkScore) = 0;
  NS_IMETHOD SetJunkScore(int32_t aJunkScore) = 0;

  /* attribute AUTF8String strValue; */
  NS_IMETHOD GetStrValue(nsACString & aStrValue) = 0;
  NS_IMETHOD SetStrValue(const nsACString & aStrValue) = 0;

  /* attribute ACString customId; */
  NS_IMETHOD GetCustomId(nsACString & aCustomId) = 0;
  NS_IMETHOD SetCustomId(const nsACString & aCustomId) = 0;

  /* readonly attribute nsIMsgFilterCustomAction customAction; */
  NS_IMETHOD GetCustomAction(nsIMsgFilterCustomAction * *aCustomAction) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgRuleAction, NS_IMSGRULEACTION_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGRULEACTION \
  NS_IMETHOD GetType(nsMsgRuleActionType *aType) override; \
  NS_IMETHOD SetType(nsMsgRuleActionType aType) override; \
  NS_IMETHOD GetPriority(nsMsgPriorityValue *aPriority) override; \
  NS_IMETHOD SetPriority(nsMsgPriorityValue aPriority) override; \
  NS_IMETHOD GetTargetFolderUri(nsACString & aTargetFolderUri) override; \
  NS_IMETHOD SetTargetFolderUri(const nsACString & aTargetFolderUri) override; \
  NS_IMETHOD GetLabel(nsMsgLabelValue *aLabel) override; \
  NS_IMETHOD SetLabel(nsMsgLabelValue aLabel) override; \
  NS_IMETHOD GetJunkScore(int32_t *aJunkScore) override; \
  NS_IMETHOD SetJunkScore(int32_t aJunkScore) override; \
  NS_IMETHOD GetStrValue(nsACString & aStrValue) override; \
  NS_IMETHOD SetStrValue(const nsACString & aStrValue) override; \
  NS_IMETHOD GetCustomId(nsACString & aCustomId) override; \
  NS_IMETHOD SetCustomId(const nsACString & aCustomId) override; \
  NS_IMETHOD GetCustomAction(nsIMsgFilterCustomAction * *aCustomAction) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGRULEACTION \
  NS_METHOD GetType(nsMsgRuleActionType *aType); \
  NS_METHOD SetType(nsMsgRuleActionType aType); \
  NS_METHOD GetPriority(nsMsgPriorityValue *aPriority); \
  NS_METHOD SetPriority(nsMsgPriorityValue aPriority); \
  NS_METHOD GetTargetFolderUri(nsACString & aTargetFolderUri); \
  NS_METHOD SetTargetFolderUri(const nsACString & aTargetFolderUri); \
  NS_METHOD GetLabel(nsMsgLabelValue *aLabel); \
  NS_METHOD SetLabel(nsMsgLabelValue aLabel); \
  NS_METHOD GetJunkScore(int32_t *aJunkScore); \
  NS_METHOD SetJunkScore(int32_t aJunkScore); \
  NS_METHOD GetStrValue(nsACString & aStrValue); \
  NS_METHOD SetStrValue(const nsACString & aStrValue); \
  NS_METHOD GetCustomId(nsACString & aCustomId); \
  NS_METHOD SetCustomId(const nsACString & aCustomId); \
  NS_METHOD GetCustomAction(nsIMsgFilterCustomAction * *aCustomAction); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGRULEACTION(_to) \
  NS_IMETHOD GetType(nsMsgRuleActionType *aType) override { return _to GetType(aType); } \
  NS_IMETHOD SetType(nsMsgRuleActionType aType) override { return _to SetType(aType); } \
  NS_IMETHOD GetPriority(nsMsgPriorityValue *aPriority) override { return _to GetPriority(aPriority); } \
  NS_IMETHOD SetPriority(nsMsgPriorityValue aPriority) override { return _to SetPriority(aPriority); } \
  NS_IMETHOD GetTargetFolderUri(nsACString & aTargetFolderUri) override { return _to GetTargetFolderUri(aTargetFolderUri); } \
  NS_IMETHOD SetTargetFolderUri(const nsACString & aTargetFolderUri) override { return _to SetTargetFolderUri(aTargetFolderUri); } \
  NS_IMETHOD GetLabel(nsMsgLabelValue *aLabel) override { return _to GetLabel(aLabel); } \
  NS_IMETHOD SetLabel(nsMsgLabelValue aLabel) override { return _to SetLabel(aLabel); } \
  NS_IMETHOD GetJunkScore(int32_t *aJunkScore) override { return _to GetJunkScore(aJunkScore); } \
  NS_IMETHOD SetJunkScore(int32_t aJunkScore) override { return _to SetJunkScore(aJunkScore); } \
  NS_IMETHOD GetStrValue(nsACString & aStrValue) override { return _to GetStrValue(aStrValue); } \
  NS_IMETHOD SetStrValue(const nsACString & aStrValue) override { return _to SetStrValue(aStrValue); } \
  NS_IMETHOD GetCustomId(nsACString & aCustomId) override { return _to GetCustomId(aCustomId); } \
  NS_IMETHOD SetCustomId(const nsACString & aCustomId) override { return _to SetCustomId(aCustomId); } \
  NS_IMETHOD GetCustomAction(nsIMsgFilterCustomAction * *aCustomAction) override { return _to GetCustomAction(aCustomAction); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGRULEACTION(_to) \
  NS_IMETHOD GetType(nsMsgRuleActionType *aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
  NS_IMETHOD SetType(nsMsgRuleActionType aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(aType); } \
  NS_IMETHOD GetPriority(nsMsgPriorityValue *aPriority) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPriority(aPriority); } \
  NS_IMETHOD SetPriority(nsMsgPriorityValue aPriority) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPriority(aPriority); } \
  NS_IMETHOD GetTargetFolderUri(nsACString & aTargetFolderUri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTargetFolderUri(aTargetFolderUri); } \
  NS_IMETHOD SetTargetFolderUri(const nsACString & aTargetFolderUri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTargetFolderUri(aTargetFolderUri); } \
  NS_IMETHOD GetLabel(nsMsgLabelValue *aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLabel(aLabel); } \
  NS_IMETHOD SetLabel(nsMsgLabelValue aLabel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLabel(aLabel); } \
  NS_IMETHOD GetJunkScore(int32_t *aJunkScore) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetJunkScore(aJunkScore); } \
  NS_IMETHOD SetJunkScore(int32_t aJunkScore) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetJunkScore(aJunkScore); } \
  NS_IMETHOD GetStrValue(nsACString & aStrValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStrValue(aStrValue); } \
  NS_IMETHOD SetStrValue(const nsACString & aStrValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStrValue(aStrValue); } \
  NS_IMETHOD GetCustomId(nsACString & aCustomId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCustomId(aCustomId); } \
  NS_IMETHOD SetCustomId(const nsACString & aCustomId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCustomId(aCustomId); } \
  NS_IMETHOD GetCustomAction(nsIMsgFilterCustomAction * *aCustomAction) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCustomAction(aCustomAction); } 

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

/* Header file */
class nsMsgRuleAction : public nsIMsgRuleAction
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGRULEACTION

  nsMsgRuleAction();

private:
  ~nsMsgRuleAction();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgRuleAction, nsIMsgRuleAction)

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

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

/* attribute nsMsgRuleActionType type; */
NS_IMETHODIMP nsMsgRuleAction::GetType(nsMsgRuleActionType *aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgRuleAction::SetType(nsMsgRuleActionType aType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsMsgPriorityValue priority; */
NS_IMETHODIMP nsMsgRuleAction::GetPriority(nsMsgPriorityValue *aPriority)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgRuleAction::SetPriority(nsMsgPriorityValue aPriority)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString targetFolderUri; */
NS_IMETHODIMP nsMsgRuleAction::GetTargetFolderUri(nsACString & aTargetFolderUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgRuleAction::SetTargetFolderUri(const nsACString & aTargetFolderUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsMsgLabelValue label; */
NS_IMETHODIMP nsMsgRuleAction::GetLabel(nsMsgLabelValue *aLabel)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgRuleAction::SetLabel(nsMsgLabelValue aLabel)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long junkScore; */
NS_IMETHODIMP nsMsgRuleAction::GetJunkScore(int32_t *aJunkScore)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgRuleAction::SetJunkScore(int32_t aJunkScore)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String strValue; */
NS_IMETHODIMP nsMsgRuleAction::GetStrValue(nsACString & aStrValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgRuleAction::SetStrValue(const nsACString & aStrValue)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString customId; */
NS_IMETHODIMP nsMsgRuleAction::GetCustomId(nsACString & aCustomId)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgRuleAction::SetCustomId(const nsACString & aCustomId)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIMsgFilterCustomAction customAction; */
NS_IMETHODIMP nsMsgRuleAction::GetCustomAction(nsIMsgFilterCustomAction * *aCustomAction)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIMsgFilter */
#define NS_IMSGFILTER_IID_STR "d304fcfc-b588-11e4-981c-770e1e5d46b0"

#define NS_IMSGFILTER_IID \
  {0xd304fcfc, 0xb588, 0x11e4, \
    { 0x98, 0x1c, 0x77, 0x0e, 0x1e, 0x5d, 0x46, 0xb0 }}

class NS_NO_VTABLE nsIMsgFilter : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGFILTER_IID)

  /* attribute nsMsgFilterTypeType filterType; */
  NS_IMETHOD GetFilterType(nsMsgFilterTypeType *aFilterType) = 0;
  NS_IMETHOD SetFilterType(nsMsgFilterTypeType aFilterType) = 0;

  /* attribute boolean temporary; */
  NS_IMETHOD GetTemporary(bool *aTemporary) = 0;
  NS_IMETHOD SetTemporary(bool aTemporary) = 0;

  /* attribute boolean enabled; */
  NS_IMETHOD GetEnabled(bool *aEnabled) = 0;
  NS_IMETHOD SetEnabled(bool aEnabled) = 0;

  /* attribute AString filterName; */
  NS_IMETHOD GetFilterName(nsAString & aFilterName) = 0;
  NS_IMETHOD SetFilterName(const nsAString & aFilterName) = 0;

  /* attribute ACString filterDesc; */
  NS_IMETHOD GetFilterDesc(nsACString & aFilterDesc) = 0;
  NS_IMETHOD SetFilterDesc(const nsACString & aFilterDesc) = 0;

  /* attribute ACString unparsedBuffer; */
  NS_IMETHOD GetUnparsedBuffer(nsACString & aUnparsedBuffer) = 0;
  NS_IMETHOD SetUnparsedBuffer(const nsACString & aUnparsedBuffer) = 0;

  /* attribute boolean unparseable; */
  NS_IMETHOD GetUnparseable(bool *aUnparseable) = 0;
  NS_IMETHOD SetUnparseable(bool aUnparseable) = 0;

  /* attribute nsIMsgFilterList filterList; */
  NS_IMETHOD GetFilterList(nsIMsgFilterList * *aFilterList) = 0;
  NS_IMETHOD SetFilterList(nsIMsgFilterList *aFilterList) = 0;

  /* void AddTerm (in nsMsgSearchAttribValue attrib, in nsMsgSearchOpValue op, in nsIMsgSearchValue value, in boolean BooleanAND, in ACString arbitraryHeader); */
  NS_IMETHOD AddTerm(nsMsgSearchAttribValue attrib, nsMsgSearchOpValue op, nsIMsgSearchValue *value, bool BooleanAND, const nsACString & arbitraryHeader) = 0;

  /* void GetTerm (in long termIndex, out nsMsgSearchAttribValue attrib, out nsMsgSearchOpValue op, out nsIMsgSearchValue value, out boolean BooleanAND, out ACString arbitraryHeader); */
  NS_IMETHOD GetTerm(int32_t termIndex, nsMsgSearchAttribValue *attrib, nsMsgSearchOpValue *op, nsIMsgSearchValue * *value, bool *BooleanAND, nsACString & arbitraryHeader) = 0;

  /* void appendTerm (in nsIMsgSearchTerm term); */
  NS_IMETHOD AppendTerm(nsIMsgSearchTerm *term) = 0;

  /* nsIMsgSearchTerm createTerm (); */
  NS_IMETHOD CreateTerm(nsIMsgSearchTerm * *_retval) = 0;

  /* attribute nsISupportsArray searchTerms; */
  NS_IMETHOD GetSearchTerms(nsISupportsArray * *aSearchTerms) = 0;
  NS_IMETHOD SetSearchTerms(nsISupportsArray *aSearchTerms) = 0;

  /* attribute nsIMsgSearchScopeTerm scope; */
  NS_IMETHOD GetScope(nsIMsgSearchScopeTerm * *aScope) = 0;
  NS_IMETHOD SetScope(nsIMsgSearchScopeTerm *aScope) = 0;

  /* [noscript] void MatchHdr (in nsIMsgDBHdr msgHdr, in nsIMsgFolder folder, in nsIMsgDatabase db, in string headers, in unsigned long headerSize, out boolean result); */
  NS_IMETHOD MatchHdr(nsIMsgDBHdr *msgHdr, nsIMsgFolder *folder, nsIMsgDatabase *db, const char * headers, uint32_t headerSize, bool *result) = 0;

  /* void logRuleHit (in nsIMsgRuleAction aFilterAction, in nsIMsgDBHdr aHeader); */
  NS_IMETHOD LogRuleHit(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader) = 0;

  /* void logRuleHitFail (in nsIMsgRuleAction aFilterAction, in nsIMsgDBHdr aHeader, in nsresult aRcode, in string aErrmsg); */
  NS_IMETHOD LogRuleHitFail(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader, nsresult aRcode, const char * aErrmsg) = 0;

  /* nsIMsgRuleAction createAction (); */
  NS_IMETHOD CreateAction(nsIMsgRuleAction * *_retval) = 0;

  /* nsIMsgRuleAction getActionAt (in unsigned long aIndex); */
  NS_IMETHOD GetActionAt(uint32_t aIndex, nsIMsgRuleAction * *_retval) = 0;

  /* long getActionIndex (in nsIMsgRuleAction aAction); */
  NS_IMETHOD GetActionIndex(nsIMsgRuleAction *aAction, int32_t *_retval) = 0;

  /* void appendAction (in nsIMsgRuleAction action); */
  NS_IMETHOD AppendAction(nsIMsgRuleAction *action) = 0;

  /* readonly attribute unsigned long actionCount; */
  NS_IMETHOD GetActionCount(uint32_t *aActionCount) = 0;

  /* void clearActionList (); */
  NS_IMETHOD ClearActionList(void) = 0;

  /* readonly attribute nsIArray sortedActionList; */
  NS_IMETHOD GetSortedActionList(nsIArray * *aSortedActionList) = 0;

  /* void SaveToTextFile (in nsIOutputStream aStream); */
  NS_IMETHOD SaveToTextFile(nsIOutputStream *aStream) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgFilter, NS_IMSGFILTER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGFILTER \
  NS_IMETHOD GetFilterType(nsMsgFilterTypeType *aFilterType) override; \
  NS_IMETHOD SetFilterType(nsMsgFilterTypeType aFilterType) override; \
  NS_IMETHOD GetTemporary(bool *aTemporary) override; \
  NS_IMETHOD SetTemporary(bool aTemporary) override; \
  NS_IMETHOD GetEnabled(bool *aEnabled) override; \
  NS_IMETHOD SetEnabled(bool aEnabled) override; \
  NS_IMETHOD GetFilterName(nsAString & aFilterName) override; \
  NS_IMETHOD SetFilterName(const nsAString & aFilterName) override; \
  NS_IMETHOD GetFilterDesc(nsACString & aFilterDesc) override; \
  NS_IMETHOD SetFilterDesc(const nsACString & aFilterDesc) override; \
  NS_IMETHOD GetUnparsedBuffer(nsACString & aUnparsedBuffer) override; \
  NS_IMETHOD SetUnparsedBuffer(const nsACString & aUnparsedBuffer) override; \
  NS_IMETHOD GetUnparseable(bool *aUnparseable) override; \
  NS_IMETHOD SetUnparseable(bool aUnparseable) override; \
  NS_IMETHOD GetFilterList(nsIMsgFilterList * *aFilterList) override; \
  NS_IMETHOD SetFilterList(nsIMsgFilterList *aFilterList) override; \
  NS_IMETHOD AddTerm(nsMsgSearchAttribValue attrib, nsMsgSearchOpValue op, nsIMsgSearchValue *value, bool BooleanAND, const nsACString & arbitraryHeader) override; \
  NS_IMETHOD GetTerm(int32_t termIndex, nsMsgSearchAttribValue *attrib, nsMsgSearchOpValue *op, nsIMsgSearchValue * *value, bool *BooleanAND, nsACString & arbitraryHeader) override; \
  NS_IMETHOD AppendTerm(nsIMsgSearchTerm *term) override; \
  NS_IMETHOD CreateTerm(nsIMsgSearchTerm * *_retval) override; \
  NS_IMETHOD GetSearchTerms(nsISupportsArray * *aSearchTerms) override; \
  NS_IMETHOD SetSearchTerms(nsISupportsArray *aSearchTerms) override; \
  NS_IMETHOD GetScope(nsIMsgSearchScopeTerm * *aScope) override; \
  NS_IMETHOD SetScope(nsIMsgSearchScopeTerm *aScope) override; \
  NS_IMETHOD MatchHdr(nsIMsgDBHdr *msgHdr, nsIMsgFolder *folder, nsIMsgDatabase *db, const char * headers, uint32_t headerSize, bool *result) override; \
  NS_IMETHOD LogRuleHit(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader) override; \
  NS_IMETHOD LogRuleHitFail(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader, nsresult aRcode, const char * aErrmsg) override; \
  NS_IMETHOD CreateAction(nsIMsgRuleAction * *_retval) override; \
  NS_IMETHOD GetActionAt(uint32_t aIndex, nsIMsgRuleAction * *_retval) override; \
  NS_IMETHOD GetActionIndex(nsIMsgRuleAction *aAction, int32_t *_retval) override; \
  NS_IMETHOD AppendAction(nsIMsgRuleAction *action) override; \
  NS_IMETHOD GetActionCount(uint32_t *aActionCount) override; \
  NS_IMETHOD ClearActionList(void) override; \
  NS_IMETHOD GetSortedActionList(nsIArray * *aSortedActionList) override; \
  NS_IMETHOD SaveToTextFile(nsIOutputStream *aStream) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGFILTER \
  NS_METHOD GetFilterType(nsMsgFilterTypeType *aFilterType); \
  NS_METHOD SetFilterType(nsMsgFilterTypeType aFilterType); \
  NS_METHOD GetTemporary(bool *aTemporary); \
  NS_METHOD SetTemporary(bool aTemporary); \
  NS_METHOD GetEnabled(bool *aEnabled); \
  NS_METHOD SetEnabled(bool aEnabled); \
  NS_METHOD GetFilterName(nsAString & aFilterName); \
  NS_METHOD SetFilterName(const nsAString & aFilterName); \
  NS_METHOD GetFilterDesc(nsACString & aFilterDesc); \
  NS_METHOD SetFilterDesc(const nsACString & aFilterDesc); \
  NS_METHOD GetUnparsedBuffer(nsACString & aUnparsedBuffer); \
  NS_METHOD SetUnparsedBuffer(const nsACString & aUnparsedBuffer); \
  NS_METHOD GetUnparseable(bool *aUnparseable); \
  NS_METHOD SetUnparseable(bool aUnparseable); \
  NS_METHOD GetFilterList(nsIMsgFilterList * *aFilterList); \
  NS_METHOD SetFilterList(nsIMsgFilterList *aFilterList); \
  NS_METHOD AddTerm(nsMsgSearchAttribValue attrib, nsMsgSearchOpValue op, nsIMsgSearchValue *value, bool BooleanAND, const nsACString & arbitraryHeader); \
  NS_METHOD GetTerm(int32_t termIndex, nsMsgSearchAttribValue *attrib, nsMsgSearchOpValue *op, nsIMsgSearchValue * *value, bool *BooleanAND, nsACString & arbitraryHeader); \
  NS_METHOD AppendTerm(nsIMsgSearchTerm *term); \
  NS_METHOD CreateTerm(nsIMsgSearchTerm * *_retval); \
  NS_METHOD GetSearchTerms(nsISupportsArray * *aSearchTerms); \
  NS_METHOD SetSearchTerms(nsISupportsArray *aSearchTerms); \
  NS_METHOD GetScope(nsIMsgSearchScopeTerm * *aScope); \
  NS_METHOD SetScope(nsIMsgSearchScopeTerm *aScope); \
  NS_METHOD MatchHdr(nsIMsgDBHdr *msgHdr, nsIMsgFolder *folder, nsIMsgDatabase *db, const char * headers, uint32_t headerSize, bool *result); \
  NS_METHOD LogRuleHit(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader); \
  NS_METHOD LogRuleHitFail(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader, nsresult aRcode, const char * aErrmsg); \
  NS_METHOD CreateAction(nsIMsgRuleAction * *_retval); \
  NS_METHOD GetActionAt(uint32_t aIndex, nsIMsgRuleAction * *_retval); \
  NS_METHOD GetActionIndex(nsIMsgRuleAction *aAction, int32_t *_retval); \
  NS_METHOD AppendAction(nsIMsgRuleAction *action); \
  NS_METHOD GetActionCount(uint32_t *aActionCount); \
  NS_METHOD ClearActionList(void); \
  NS_METHOD GetSortedActionList(nsIArray * *aSortedActionList); \
  NS_METHOD SaveToTextFile(nsIOutputStream *aStream); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGFILTER(_to) \
  NS_IMETHOD GetFilterType(nsMsgFilterTypeType *aFilterType) override { return _to GetFilterType(aFilterType); } \
  NS_IMETHOD SetFilterType(nsMsgFilterTypeType aFilterType) override { return _to SetFilterType(aFilterType); } \
  NS_IMETHOD GetTemporary(bool *aTemporary) override { return _to GetTemporary(aTemporary); } \
  NS_IMETHOD SetTemporary(bool aTemporary) override { return _to SetTemporary(aTemporary); } \
  NS_IMETHOD GetEnabled(bool *aEnabled) override { return _to GetEnabled(aEnabled); } \
  NS_IMETHOD SetEnabled(bool aEnabled) override { return _to SetEnabled(aEnabled); } \
  NS_IMETHOD GetFilterName(nsAString & aFilterName) override { return _to GetFilterName(aFilterName); } \
  NS_IMETHOD SetFilterName(const nsAString & aFilterName) override { return _to SetFilterName(aFilterName); } \
  NS_IMETHOD GetFilterDesc(nsACString & aFilterDesc) override { return _to GetFilterDesc(aFilterDesc); } \
  NS_IMETHOD SetFilterDesc(const nsACString & aFilterDesc) override { return _to SetFilterDesc(aFilterDesc); } \
  NS_IMETHOD GetUnparsedBuffer(nsACString & aUnparsedBuffer) override { return _to GetUnparsedBuffer(aUnparsedBuffer); } \
  NS_IMETHOD SetUnparsedBuffer(const nsACString & aUnparsedBuffer) override { return _to SetUnparsedBuffer(aUnparsedBuffer); } \
  NS_IMETHOD GetUnparseable(bool *aUnparseable) override { return _to GetUnparseable(aUnparseable); } \
  NS_IMETHOD SetUnparseable(bool aUnparseable) override { return _to SetUnparseable(aUnparseable); } \
  NS_IMETHOD GetFilterList(nsIMsgFilterList * *aFilterList) override { return _to GetFilterList(aFilterList); } \
  NS_IMETHOD SetFilterList(nsIMsgFilterList *aFilterList) override { return _to SetFilterList(aFilterList); } \
  NS_IMETHOD AddTerm(nsMsgSearchAttribValue attrib, nsMsgSearchOpValue op, nsIMsgSearchValue *value, bool BooleanAND, const nsACString & arbitraryHeader) override { return _to AddTerm(attrib, op, value, BooleanAND, arbitraryHeader); } \
  NS_IMETHOD GetTerm(int32_t termIndex, nsMsgSearchAttribValue *attrib, nsMsgSearchOpValue *op, nsIMsgSearchValue * *value, bool *BooleanAND, nsACString & arbitraryHeader) override { return _to GetTerm(termIndex, attrib, op, value, BooleanAND, arbitraryHeader); } \
  NS_IMETHOD AppendTerm(nsIMsgSearchTerm *term) override { return _to AppendTerm(term); } \
  NS_IMETHOD CreateTerm(nsIMsgSearchTerm * *_retval) override { return _to CreateTerm(_retval); } \
  NS_IMETHOD GetSearchTerms(nsISupportsArray * *aSearchTerms) override { return _to GetSearchTerms(aSearchTerms); } \
  NS_IMETHOD SetSearchTerms(nsISupportsArray *aSearchTerms) override { return _to SetSearchTerms(aSearchTerms); } \
  NS_IMETHOD GetScope(nsIMsgSearchScopeTerm * *aScope) override { return _to GetScope(aScope); } \
  NS_IMETHOD SetScope(nsIMsgSearchScopeTerm *aScope) override { return _to SetScope(aScope); } \
  NS_IMETHOD MatchHdr(nsIMsgDBHdr *msgHdr, nsIMsgFolder *folder, nsIMsgDatabase *db, const char * headers, uint32_t headerSize, bool *result) override { return _to MatchHdr(msgHdr, folder, db, headers, headerSize, result); } \
  NS_IMETHOD LogRuleHit(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader) override { return _to LogRuleHit(aFilterAction, aHeader); } \
  NS_IMETHOD LogRuleHitFail(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader, nsresult aRcode, const char * aErrmsg) override { return _to LogRuleHitFail(aFilterAction, aHeader, aRcode, aErrmsg); } \
  NS_IMETHOD CreateAction(nsIMsgRuleAction * *_retval) override { return _to CreateAction(_retval); } \
  NS_IMETHOD GetActionAt(uint32_t aIndex, nsIMsgRuleAction * *_retval) override { return _to GetActionAt(aIndex, _retval); } \
  NS_IMETHOD GetActionIndex(nsIMsgRuleAction *aAction, int32_t *_retval) override { return _to GetActionIndex(aAction, _retval); } \
  NS_IMETHOD AppendAction(nsIMsgRuleAction *action) override { return _to AppendAction(action); } \
  NS_IMETHOD GetActionCount(uint32_t *aActionCount) override { return _to GetActionCount(aActionCount); } \
  NS_IMETHOD ClearActionList(void) override { return _to ClearActionList(); } \
  NS_IMETHOD GetSortedActionList(nsIArray * *aSortedActionList) override { return _to GetSortedActionList(aSortedActionList); } \
  NS_IMETHOD SaveToTextFile(nsIOutputStream *aStream) override { return _to SaveToTextFile(aStream); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGFILTER(_to) \
  NS_IMETHOD GetFilterType(nsMsgFilterTypeType *aFilterType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilterType(aFilterType); } \
  NS_IMETHOD SetFilterType(nsMsgFilterTypeType aFilterType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilterType(aFilterType); } \
  NS_IMETHOD GetTemporary(bool *aTemporary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTemporary(aTemporary); } \
  NS_IMETHOD SetTemporary(bool aTemporary) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTemporary(aTemporary); } \
  NS_IMETHOD GetEnabled(bool *aEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnabled(aEnabled); } \
  NS_IMETHOD SetEnabled(bool aEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnabled(aEnabled); } \
  NS_IMETHOD GetFilterName(nsAString & aFilterName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilterName(aFilterName); } \
  NS_IMETHOD SetFilterName(const nsAString & aFilterName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilterName(aFilterName); } \
  NS_IMETHOD GetFilterDesc(nsACString & aFilterDesc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilterDesc(aFilterDesc); } \
  NS_IMETHOD SetFilterDesc(const nsACString & aFilterDesc) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilterDesc(aFilterDesc); } \
  NS_IMETHOD GetUnparsedBuffer(nsACString & aUnparsedBuffer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnparsedBuffer(aUnparsedBuffer); } \
  NS_IMETHOD SetUnparsedBuffer(const nsACString & aUnparsedBuffer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUnparsedBuffer(aUnparsedBuffer); } \
  NS_IMETHOD GetUnparseable(bool *aUnparseable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnparseable(aUnparseable); } \
  NS_IMETHOD SetUnparseable(bool aUnparseable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUnparseable(aUnparseable); } \
  NS_IMETHOD GetFilterList(nsIMsgFilterList * *aFilterList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilterList(aFilterList); } \
  NS_IMETHOD SetFilterList(nsIMsgFilterList *aFilterList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilterList(aFilterList); } \
  NS_IMETHOD AddTerm(nsMsgSearchAttribValue attrib, nsMsgSearchOpValue op, nsIMsgSearchValue *value, bool BooleanAND, const nsACString & arbitraryHeader) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddTerm(attrib, op, value, BooleanAND, arbitraryHeader); } \
  NS_IMETHOD GetTerm(int32_t termIndex, nsMsgSearchAttribValue *attrib, nsMsgSearchOpValue *op, nsIMsgSearchValue * *value, bool *BooleanAND, nsACString & arbitraryHeader) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTerm(termIndex, attrib, op, value, BooleanAND, arbitraryHeader); } \
  NS_IMETHOD AppendTerm(nsIMsgSearchTerm *term) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendTerm(term); } \
  NS_IMETHOD CreateTerm(nsIMsgSearchTerm * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateTerm(_retval); } \
  NS_IMETHOD GetSearchTerms(nsISupportsArray * *aSearchTerms) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchTerms(aSearchTerms); } \
  NS_IMETHOD SetSearchTerms(nsISupportsArray *aSearchTerms) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchTerms(aSearchTerms); } \
  NS_IMETHOD GetScope(nsIMsgSearchScopeTerm * *aScope) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScope(aScope); } \
  NS_IMETHOD SetScope(nsIMsgSearchScopeTerm *aScope) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScope(aScope); } \
  NS_IMETHOD MatchHdr(nsIMsgDBHdr *msgHdr, nsIMsgFolder *folder, nsIMsgDatabase *db, const char * headers, uint32_t headerSize, bool *result) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MatchHdr(msgHdr, folder, db, headers, headerSize, result); } \
  NS_IMETHOD LogRuleHit(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LogRuleHit(aFilterAction, aHeader); } \
  NS_IMETHOD LogRuleHitFail(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader, nsresult aRcode, const char * aErrmsg) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LogRuleHitFail(aFilterAction, aHeader, aRcode, aErrmsg); } \
  NS_IMETHOD CreateAction(nsIMsgRuleAction * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateAction(_retval); } \
  NS_IMETHOD GetActionAt(uint32_t aIndex, nsIMsgRuleAction * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActionAt(aIndex, _retval); } \
  NS_IMETHOD GetActionIndex(nsIMsgRuleAction *aAction, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActionIndex(aAction, _retval); } \
  NS_IMETHOD AppendAction(nsIMsgRuleAction *action) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendAction(action); } \
  NS_IMETHOD GetActionCount(uint32_t *aActionCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActionCount(aActionCount); } \
  NS_IMETHOD ClearActionList(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearActionList(); } \
  NS_IMETHOD GetSortedActionList(nsIArray * *aSortedActionList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSortedActionList(aSortedActionList); } \
  NS_IMETHOD SaveToTextFile(nsIOutputStream *aStream) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SaveToTextFile(aStream); } 

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

/* Header file */
class nsMsgFilter : public nsIMsgFilter
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGFILTER

  nsMsgFilter();

private:
  ~nsMsgFilter();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgFilter, nsIMsgFilter)

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

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

/* attribute nsMsgFilterTypeType filterType; */
NS_IMETHODIMP nsMsgFilter::GetFilterType(nsMsgFilterTypeType *aFilterType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFilter::SetFilterType(nsMsgFilterTypeType aFilterType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean temporary; */
NS_IMETHODIMP nsMsgFilter::GetTemporary(bool *aTemporary)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFilter::SetTemporary(bool aTemporary)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean enabled; */
NS_IMETHODIMP nsMsgFilter::GetEnabled(bool *aEnabled)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFilter::SetEnabled(bool aEnabled)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString filterName; */
NS_IMETHODIMP nsMsgFilter::GetFilterName(nsAString & aFilterName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFilter::SetFilterName(const nsAString & aFilterName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString filterDesc; */
NS_IMETHODIMP nsMsgFilter::GetFilterDesc(nsACString & aFilterDesc)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFilter::SetFilterDesc(const nsACString & aFilterDesc)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString unparsedBuffer; */
NS_IMETHODIMP nsMsgFilter::GetUnparsedBuffer(nsACString & aUnparsedBuffer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFilter::SetUnparsedBuffer(const nsACString & aUnparsedBuffer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean unparseable; */
NS_IMETHODIMP nsMsgFilter::GetUnparseable(bool *aUnparseable)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFilter::SetUnparseable(bool aUnparseable)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIMsgFilterList filterList; */
NS_IMETHODIMP nsMsgFilter::GetFilterList(nsIMsgFilterList * *aFilterList)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFilter::SetFilterList(nsIMsgFilterList *aFilterList)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void AddTerm (in nsMsgSearchAttribValue attrib, in nsMsgSearchOpValue op, in nsIMsgSearchValue value, in boolean BooleanAND, in ACString arbitraryHeader); */
NS_IMETHODIMP nsMsgFilter::AddTerm(nsMsgSearchAttribValue attrib, nsMsgSearchOpValue op, nsIMsgSearchValue *value, bool BooleanAND, const nsACString & arbitraryHeader)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void GetTerm (in long termIndex, out nsMsgSearchAttribValue attrib, out nsMsgSearchOpValue op, out nsIMsgSearchValue value, out boolean BooleanAND, out ACString arbitraryHeader); */
NS_IMETHODIMP nsMsgFilter::GetTerm(int32_t termIndex, nsMsgSearchAttribValue *attrib, nsMsgSearchOpValue *op, nsIMsgSearchValue * *value, bool *BooleanAND, nsACString & arbitraryHeader)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void appendTerm (in nsIMsgSearchTerm term); */
NS_IMETHODIMP nsMsgFilter::AppendTerm(nsIMsgSearchTerm *term)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIMsgSearchTerm createTerm (); */
NS_IMETHODIMP nsMsgFilter::CreateTerm(nsIMsgSearchTerm * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsISupportsArray searchTerms; */
NS_IMETHODIMP nsMsgFilter::GetSearchTerms(nsISupportsArray * *aSearchTerms)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFilter::SetSearchTerms(nsISupportsArray *aSearchTerms)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIMsgSearchScopeTerm scope; */
NS_IMETHODIMP nsMsgFilter::GetScope(nsIMsgSearchScopeTerm * *aScope)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgFilter::SetScope(nsIMsgSearchScopeTerm *aScope)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void MatchHdr (in nsIMsgDBHdr msgHdr, in nsIMsgFolder folder, in nsIMsgDatabase db, in string headers, in unsigned long headerSize, out boolean result); */
NS_IMETHODIMP nsMsgFilter::MatchHdr(nsIMsgDBHdr *msgHdr, nsIMsgFolder *folder, nsIMsgDatabase *db, const char * headers, uint32_t headerSize, bool *result)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void logRuleHit (in nsIMsgRuleAction aFilterAction, in nsIMsgDBHdr aHeader); */
NS_IMETHODIMP nsMsgFilter::LogRuleHit(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void logRuleHitFail (in nsIMsgRuleAction aFilterAction, in nsIMsgDBHdr aHeader, in nsresult aRcode, in string aErrmsg); */
NS_IMETHODIMP nsMsgFilter::LogRuleHitFail(nsIMsgRuleAction *aFilterAction, nsIMsgDBHdr *aHeader, nsresult aRcode, const char * aErrmsg)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIMsgRuleAction createAction (); */
NS_IMETHODIMP nsMsgFilter::CreateAction(nsIMsgRuleAction * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIMsgRuleAction getActionAt (in unsigned long aIndex); */
NS_IMETHODIMP nsMsgFilter::GetActionAt(uint32_t aIndex, nsIMsgRuleAction * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long getActionIndex (in nsIMsgRuleAction aAction); */
NS_IMETHODIMP nsMsgFilter::GetActionIndex(nsIMsgRuleAction *aAction, int32_t *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void appendAction (in nsIMsgRuleAction action); */
NS_IMETHODIMP nsMsgFilter::AppendAction(nsIMsgRuleAction *action)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute unsigned long actionCount; */
NS_IMETHODIMP nsMsgFilter::GetActionCount(uint32_t *aActionCount)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void clearActionList (); */
NS_IMETHODIMP nsMsgFilter::ClearActionList()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIArray sortedActionList; */
NS_IMETHODIMP nsMsgFilter::GetSortedActionList(nsIArray * *aSortedActionList)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SaveToTextFile (in nsIOutputStream aStream); */
NS_IMETHODIMP nsMsgFilter::SaveToTextFile(nsIOutputStream *aStream)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgFilter_h__ */
