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

#ifndef __gen_nsIMailboxSpec_h__
#define __gen_nsIMailboxSpec_h__


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

#ifndef __gen_nsIImapFlagAndUidState_h__
#include "nsIImapFlagAndUidState.h"
#endif

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


/* starting interface:    nsIMailboxSpec */
#define NS_IMAILBOXSPEC_IID_STR "a9fbbc80-5291-4ed8-a7f7-c2fcad231269"

#define NS_IMAILBOXSPEC_IID \
  {0xa9fbbc80, 0x5291, 0x4ed8, \
    { 0xa7, 0xf7, 0xc2, 0xfc, 0xad, 0x23, 0x12, 0x69 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIMailboxSpec : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMAILBOXSPEC_IID)

  /* attribute long folder_UIDVALIDITY; */
  NS_SCRIPTABLE NS_IMETHOD GetFolder_UIDVALIDITY(PRInt32 *aFolder_UIDVALIDITY) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetFolder_UIDVALIDITY(PRInt32 aFolder_UIDVALIDITY) = 0;

  /* attribute unsigned long long highestModSeq; */
  NS_SCRIPTABLE NS_IMETHOD GetHighestModSeq(PRUint64 *aHighestModSeq) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetHighestModSeq(PRUint64 aHighestModSeq) = 0;

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

  /* attribute long numUnseenMessages; */
  NS_SCRIPTABLE NS_IMETHOD GetNumUnseenMessages(PRInt32 *aNumUnseenMessages) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetNumUnseenMessages(PRInt32 aNumUnseenMessages) = 0;

  /* attribute long numRecentMessages; */
  NS_SCRIPTABLE NS_IMETHOD GetNumRecentMessages(PRInt32 *aNumRecentMessages) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetNumRecentMessages(PRInt32 aNumRecentMessages) = 0;

  /* attribute long nextUID; */
  NS_SCRIPTABLE NS_IMETHOD GetNextUID(PRInt32 *aNextUID) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetNextUID(PRInt32 aNextUID) = 0;

  /* attribute unsigned long box_flags; */
  NS_SCRIPTABLE NS_IMETHOD GetBox_flags(PRUint32 *aBox_flags) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetBox_flags(PRUint32 aBox_flags) = 0;

  /* attribute unsigned long supportedUserFlags; */
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint32 *aSupportedUserFlags) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetSupportedUserFlags(PRUint32 aSupportedUserFlags) = 0;

  /* attribute ACString allocatedPathName; */
  NS_SCRIPTABLE NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName) = 0;

  /* attribute AString unicharPathName; */
  NS_SCRIPTABLE NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName) = 0;

  /* attribute char hierarchyDelimiter; */
  NS_SCRIPTABLE NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) = 0;

  /* attribute ACString hostName; */
  NS_SCRIPTABLE NS_IMETHOD GetHostName(nsACString & aHostName) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetHostName(const nsACString & aHostName) = 0;

  /* attribute nsIImapFlagAndUidState flagState; */
  NS_SCRIPTABLE NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState) = 0;

  /* attribute boolean folderSelected; */
  NS_SCRIPTABLE NS_IMETHOD GetFolderSelected(bool *aFolderSelected) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetFolderSelected(bool aFolderSelected) = 0;

  /* attribute boolean discoveredFromLsub; */
  NS_SCRIPTABLE NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub) = 0;

  /* attribute boolean onlineVerified; */
  NS_SCRIPTABLE NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetOnlineVerified(bool aOnlineVerified) = 0;

  /* [noscript] attribute nsIMAPNamespace namespaceForFolder; */
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder) = 0;
  NS_IMETHOD SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIMailboxSpec, NS_IMAILBOXSPEC_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMAILBOXSPEC \
  NS_SCRIPTABLE NS_IMETHOD GetFolder_UIDVALIDITY(PRInt32 *aFolder_UIDVALIDITY); \
  NS_SCRIPTABLE NS_IMETHOD SetFolder_UIDVALIDITY(PRInt32 aFolder_UIDVALIDITY); \
  NS_SCRIPTABLE NS_IMETHOD GetHighestModSeq(PRUint64 *aHighestModSeq); \
  NS_SCRIPTABLE NS_IMETHOD SetHighestModSeq(PRUint64 aHighestModSeq); \
  NS_SCRIPTABLE NS_IMETHOD GetNumMessages(PRInt32 *aNumMessages); \
  NS_SCRIPTABLE NS_IMETHOD SetNumMessages(PRInt32 aNumMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetNumUnseenMessages(PRInt32 *aNumUnseenMessages); \
  NS_SCRIPTABLE NS_IMETHOD SetNumUnseenMessages(PRInt32 aNumUnseenMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetNumRecentMessages(PRInt32 *aNumRecentMessages); \
  NS_SCRIPTABLE NS_IMETHOD SetNumRecentMessages(PRInt32 aNumRecentMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetNextUID(PRInt32 *aNextUID); \
  NS_SCRIPTABLE NS_IMETHOD SetNextUID(PRInt32 aNextUID); \
  NS_SCRIPTABLE NS_IMETHOD GetBox_flags(PRUint32 *aBox_flags); \
  NS_SCRIPTABLE NS_IMETHOD SetBox_flags(PRUint32 aBox_flags); \
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint32 *aSupportedUserFlags); \
  NS_SCRIPTABLE NS_IMETHOD SetSupportedUserFlags(PRUint32 aSupportedUserFlags); \
  NS_SCRIPTABLE NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName); \
  NS_SCRIPTABLE NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName); \
  NS_SCRIPTABLE NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName); \
  NS_SCRIPTABLE NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName); \
  NS_SCRIPTABLE NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter); \
  NS_SCRIPTABLE NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter); \
  NS_SCRIPTABLE NS_IMETHOD GetHostName(nsACString & aHostName); \
  NS_SCRIPTABLE NS_IMETHOD SetHostName(const nsACString & aHostName); \
  NS_SCRIPTABLE NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState); \
  NS_SCRIPTABLE NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState); \
  NS_SCRIPTABLE NS_IMETHOD GetFolderSelected(bool *aFolderSelected); \
  NS_SCRIPTABLE NS_IMETHOD SetFolderSelected(bool aFolderSelected); \
  NS_SCRIPTABLE NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub); \
  NS_SCRIPTABLE NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub); \
  NS_SCRIPTABLE NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified); \
  NS_SCRIPTABLE NS_IMETHOD SetOnlineVerified(bool aOnlineVerified); \
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder); \
  NS_IMETHOD SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMAILBOXSPEC(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetFolder_UIDVALIDITY(PRInt32 *aFolder_UIDVALIDITY) { return _to GetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolder_UIDVALIDITY(PRInt32 aFolder_UIDVALIDITY) { return _to SetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_SCRIPTABLE NS_IMETHOD GetHighestModSeq(PRUint64 *aHighestModSeq) { return _to GetHighestModSeq(aHighestModSeq); } \
  NS_SCRIPTABLE NS_IMETHOD SetHighestModSeq(PRUint64 aHighestModSeq) { return _to SetHighestModSeq(aHighestModSeq); } \
  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 GetNumUnseenMessages(PRInt32 *aNumUnseenMessages) { return _to GetNumUnseenMessages(aNumUnseenMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumUnseenMessages(PRInt32 aNumUnseenMessages) { return _to SetNumUnseenMessages(aNumUnseenMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumRecentMessages(PRInt32 *aNumRecentMessages) { return _to GetNumRecentMessages(aNumRecentMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumRecentMessages(PRInt32 aNumRecentMessages) { return _to SetNumRecentMessages(aNumRecentMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNextUID(PRInt32 *aNextUID) { return _to GetNextUID(aNextUID); } \
  NS_SCRIPTABLE NS_IMETHOD SetNextUID(PRInt32 aNextUID) { return _to SetNextUID(aNextUID); } \
  NS_SCRIPTABLE NS_IMETHOD GetBox_flags(PRUint32 *aBox_flags) { return _to GetBox_flags(aBox_flags); } \
  NS_SCRIPTABLE NS_IMETHOD SetBox_flags(PRUint32 aBox_flags) { return _to SetBox_flags(aBox_flags); } \
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint32 *aSupportedUserFlags) { return _to GetSupportedUserFlags(aSupportedUserFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetSupportedUserFlags(PRUint32 aSupportedUserFlags) { return _to SetSupportedUserFlags(aSupportedUserFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName) { return _to GetAllocatedPathName(aAllocatedPathName); } \
  NS_SCRIPTABLE NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName) { return _to SetAllocatedPathName(aAllocatedPathName); } \
  NS_SCRIPTABLE NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName) { return _to GetUnicharPathName(aUnicharPathName); } \
  NS_SCRIPTABLE NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName) { return _to SetUnicharPathName(aUnicharPathName); } \
  NS_SCRIPTABLE NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) { return _to GetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_SCRIPTABLE NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) { return _to SetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_SCRIPTABLE NS_IMETHOD GetHostName(nsACString & aHostName) { return _to GetHostName(aHostName); } \
  NS_SCRIPTABLE NS_IMETHOD SetHostName(const nsACString & aHostName) { return _to SetHostName(aHostName); } \
  NS_SCRIPTABLE NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState) { return _to GetFlagState(aFlagState); } \
  NS_SCRIPTABLE NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState) { return _to SetFlagState(aFlagState); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolderSelected(bool *aFolderSelected) { return _to GetFolderSelected(aFolderSelected); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderSelected(bool aFolderSelected) { return _to SetFolderSelected(aFolderSelected); } \
  NS_SCRIPTABLE NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub) { return _to GetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_SCRIPTABLE NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub) { return _to SetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_SCRIPTABLE NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) { return _to GetOnlineVerified(aOnlineVerified); } \
  NS_SCRIPTABLE NS_IMETHOD SetOnlineVerified(bool aOnlineVerified) { return _to SetOnlineVerified(aOnlineVerified); } \
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder) { return _to GetNamespaceForFolder(aNamespaceForFolder); } \
  NS_IMETHOD SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder) { return _to SetNamespaceForFolder(aNamespaceForFolder); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMAILBOXSPEC(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetFolder_UIDVALIDITY(PRInt32 *aFolder_UIDVALIDITY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolder_UIDVALIDITY(PRInt32 aFolder_UIDVALIDITY) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolder_UIDVALIDITY(aFolder_UIDVALIDITY); } \
  NS_SCRIPTABLE NS_IMETHOD GetHighestModSeq(PRUint64 *aHighestModSeq) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHighestModSeq(aHighestModSeq); } \
  NS_SCRIPTABLE NS_IMETHOD SetHighestModSeq(PRUint64 aHighestModSeq) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHighestModSeq(aHighestModSeq); } \
  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 GetNumUnseenMessages(PRInt32 *aNumUnseenMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumUnseenMessages(aNumUnseenMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumUnseenMessages(PRInt32 aNumUnseenMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumUnseenMessages(aNumUnseenMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumRecentMessages(PRInt32 *aNumRecentMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumRecentMessages(aNumRecentMessages); } \
  NS_SCRIPTABLE NS_IMETHOD SetNumRecentMessages(PRInt32 aNumRecentMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumRecentMessages(aNumRecentMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNextUID(PRInt32 *aNextUID) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNextUID(aNextUID); } \
  NS_SCRIPTABLE NS_IMETHOD SetNextUID(PRInt32 aNextUID) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNextUID(aNextUID); } \
  NS_SCRIPTABLE NS_IMETHOD GetBox_flags(PRUint32 *aBox_flags) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBox_flags(aBox_flags); } \
  NS_SCRIPTABLE NS_IMETHOD SetBox_flags(PRUint32 aBox_flags) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBox_flags(aBox_flags); } \
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint32 *aSupportedUserFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportedUserFlags(aSupportedUserFlags); } \
  NS_SCRIPTABLE NS_IMETHOD SetSupportedUserFlags(PRUint32 aSupportedUserFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSupportedUserFlags(aSupportedUserFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetAllocatedPathName(nsACString & aAllocatedPathName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllocatedPathName(aAllocatedPathName); } \
  NS_SCRIPTABLE NS_IMETHOD SetAllocatedPathName(const nsACString & aAllocatedPathName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAllocatedPathName(aAllocatedPathName); } \
  NS_SCRIPTABLE NS_IMETHOD GetUnicharPathName(nsAString & aUnicharPathName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnicharPathName(aUnicharPathName); } \
  NS_SCRIPTABLE NS_IMETHOD SetUnicharPathName(const nsAString & aUnicharPathName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUnicharPathName(aUnicharPathName); } \
  NS_SCRIPTABLE NS_IMETHOD GetHierarchyDelimiter(char *aHierarchyDelimiter) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_SCRIPTABLE NS_IMETHOD SetHierarchyDelimiter(char aHierarchyDelimiter) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHierarchyDelimiter(aHierarchyDelimiter); } \
  NS_SCRIPTABLE NS_IMETHOD GetHostName(nsACString & aHostName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHostName(aHostName); } \
  NS_SCRIPTABLE NS_IMETHOD SetHostName(const nsACString & aHostName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHostName(aHostName); } \
  NS_SCRIPTABLE NS_IMETHOD GetFlagState(nsIImapFlagAndUidState * *aFlagState) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFlagState(aFlagState); } \
  NS_SCRIPTABLE NS_IMETHOD SetFlagState(nsIImapFlagAndUidState *aFlagState) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFlagState(aFlagState); } \
  NS_SCRIPTABLE NS_IMETHOD GetFolderSelected(bool *aFolderSelected) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFolderSelected(aFolderSelected); } \
  NS_SCRIPTABLE NS_IMETHOD SetFolderSelected(bool aFolderSelected) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFolderSelected(aFolderSelected); } \
  NS_SCRIPTABLE NS_IMETHOD GetDiscoveredFromLsub(bool *aDiscoveredFromLsub) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_SCRIPTABLE NS_IMETHOD SetDiscoveredFromLsub(bool aDiscoveredFromLsub) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDiscoveredFromLsub(aDiscoveredFromLsub); } \
  NS_SCRIPTABLE NS_IMETHOD GetOnlineVerified(bool *aOnlineVerified) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnlineVerified(aOnlineVerified); } \
  NS_SCRIPTABLE NS_IMETHOD SetOnlineVerified(bool aOnlineVerified) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnlineVerified(aOnlineVerified); } \
  NS_IMETHOD GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNamespaceForFolder(aNamespaceForFolder); } \
  NS_IMETHOD SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNamespaceForFolder(aNamespaceForFolder); } 

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

/* Header file */
class nsMailboxSpec : public nsIMailboxSpec
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIMAILBOXSPEC

  nsMailboxSpec();

private:
  ~nsMailboxSpec();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMailboxSpec, nsIMailboxSpec)

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

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

/* attribute long folder_UIDVALIDITY; */
NS_IMETHODIMP nsMailboxSpec::GetFolder_UIDVALIDITY(PRInt32 *aFolder_UIDVALIDITY)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetFolder_UIDVALIDITY(PRInt32 aFolder_UIDVALIDITY)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long long highestModSeq; */
NS_IMETHODIMP nsMailboxSpec::GetHighestModSeq(PRUint64 *aHighestModSeq)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetHighestModSeq(PRUint64 aHighestModSeq)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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

/* attribute long numUnseenMessages; */
NS_IMETHODIMP nsMailboxSpec::GetNumUnseenMessages(PRInt32 *aNumUnseenMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetNumUnseenMessages(PRInt32 aNumUnseenMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long numRecentMessages; */
NS_IMETHODIMP nsMailboxSpec::GetNumRecentMessages(PRInt32 *aNumRecentMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetNumRecentMessages(PRInt32 aNumRecentMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long nextUID; */
NS_IMETHODIMP nsMailboxSpec::GetNextUID(PRInt32 *aNextUID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetNextUID(PRInt32 aNextUID)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long box_flags; */
NS_IMETHODIMP nsMailboxSpec::GetBox_flags(PRUint32 *aBox_flags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetBox_flags(PRUint32 aBox_flags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long supportedUserFlags; */
NS_IMETHODIMP nsMailboxSpec::GetSupportedUserFlags(PRUint32 *aSupportedUserFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetSupportedUserFlags(PRUint32 aSupportedUserFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString allocatedPathName; */
NS_IMETHODIMP nsMailboxSpec::GetAllocatedPathName(nsACString & aAllocatedPathName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetAllocatedPathName(const nsACString & aAllocatedPathName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AString unicharPathName; */
NS_IMETHODIMP nsMailboxSpec::GetUnicharPathName(nsAString & aUnicharPathName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetUnicharPathName(const nsAString & aUnicharPathName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute char hierarchyDelimiter; */
NS_IMETHODIMP nsMailboxSpec::GetHierarchyDelimiter(char *aHierarchyDelimiter)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetHierarchyDelimiter(char aHierarchyDelimiter)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString hostName; */
NS_IMETHODIMP nsMailboxSpec::GetHostName(nsACString & aHostName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetHostName(const nsACString & aHostName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIImapFlagAndUidState flagState; */
NS_IMETHODIMP nsMailboxSpec::GetFlagState(nsIImapFlagAndUidState * *aFlagState)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetFlagState(nsIImapFlagAndUidState *aFlagState)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean folderSelected; */
NS_IMETHODIMP nsMailboxSpec::GetFolderSelected(bool *aFolderSelected)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetFolderSelected(bool aFolderSelected)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean discoveredFromLsub; */
NS_IMETHODIMP nsMailboxSpec::GetDiscoveredFromLsub(bool *aDiscoveredFromLsub)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetDiscoveredFromLsub(bool aDiscoveredFromLsub)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean onlineVerified; */
NS_IMETHODIMP nsMailboxSpec::GetOnlineVerified(bool *aOnlineVerified)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetOnlineVerified(bool aOnlineVerified)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] attribute nsIMAPNamespace namespaceForFolder; */
NS_IMETHODIMP nsMailboxSpec::GetNamespaceForFolder(nsIMAPNamespace * *aNamespaceForFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMailboxSpec::SetNamespaceForFolder(nsIMAPNamespace *aNamespaceForFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIMailboxSpec_h__ */
