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

#ifndef __gen_nsIMsgLocalMailFolder_h__
#define __gen_nsIMsgLocalMailFolder_h__

#include "nsISupports.h"

class nsIMsgWindow; /* forward declaration */

class nsIUrlListener; /* forward declaration */


/* starting interface:    nsIMsgLocalMailFolder */
#define NS_IMSGLOCALMAILFOLDER_IID_STR "27d2de40-baf1-11d2-9578-00805f8ac615"

#define NS_IMSGLOCALMAILFOLDER_IID \
  {0x27d2de40, 0xbaf1, 0x11d2, \
    { 0x95, 0x78, 0x00, 0x80, 0x5f, 0x8a, 0xc6, 0x15 }}

class NS_NO_VTABLE nsIMsgLocalMailFolder : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IMSGLOCALMAILFOLDER_IID)

  /**
   * set the default flags on the subfolders of this folder, such as
   * Drafts, Templates, etc
   * you should bitwise OR all the flags all mailboxes you want to flag,
   * this function will be smart and find the right names.
   * like MSG_FOLDER_FLAG_INBOX | MSG_FOLDER_FLAG_DRAFTS | etc
   */
  /* void setFlagsOnDefaultMailboxes (in unsigned long flags); */
  NS_IMETHOD SetFlagsOnDefaultMailboxes(PRUint32 flags) = 0;

  /* void ParseFolder (in nsIMsgWindow aMsgWindow, in nsIUrlListener listener); */
  NS_IMETHOD ParseFolder(nsIMsgWindow *aMsgWindow, nsIUrlListener *listener) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGLOCALMAILFOLDER \
  NS_IMETHOD SetFlagsOnDefaultMailboxes(PRUint32 flags); \
  NS_IMETHOD ParseFolder(nsIMsgWindow *aMsgWindow, nsIUrlListener *listener); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGLOCALMAILFOLDER(_to) \
  NS_IMETHOD SetFlagsOnDefaultMailboxes(PRUint32 flags) { return _to ## SetFlagsOnDefaultMailboxes(flags); } \
  NS_IMETHOD ParseFolder(nsIMsgWindow *aMsgWindow, nsIUrlListener *listener) { return _to ## ParseFolder(aMsgWindow, listener); } 

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

/* Header file */
class nsMsgLocalMailFolder : public nsIMsgLocalMailFolder
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMSGLOCALMAILFOLDER

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

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMsgLocalMailFolder, nsIMsgLocalMailFolder)

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

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

/* void setFlagsOnDefaultMailboxes (in unsigned long flags); */
NS_IMETHODIMP nsMsgLocalMailFolder::SetFlagsOnDefaultMailboxes(PRUint32 flags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void ParseFolder (in nsIMsgWindow aMsgWindow, in nsIUrlListener listener); */
NS_IMETHODIMP nsMsgLocalMailFolder::ParseFolder(nsIMsgWindow *aMsgWindow, nsIUrlListener *listener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMsgLocalMailFolder_h__ */
