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

#ifndef __gen_nsIImportMailboxDescriptor_h__
#define __gen_nsIImportMailboxDescriptor_h__


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

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


/* starting interface:    nsIImportMailboxDescriptor */
#define NS_IIMPORTMAILBOXDESCRIPTOR_IID_STR "69eba744-9c4f-4f79-a964-2134746b3656"

#define NS_IIMPORTMAILBOXDESCRIPTOR_IID \
  {0x69eba744, 0x9c4f, 0x4f79, \
    { 0xa9, 0x64, 0x21, 0x34, 0x74, 0x6b, 0x36, 0x56 }}

class NS_NO_VTABLE nsIImportMailboxDescriptor : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIMPORTMAILBOXDESCRIPTOR_IID)

  /* attribute unsigned long identifier; */
  NS_IMETHOD GetIdentifier(uint32_t *aIdentifier) = 0;
  NS_IMETHOD SetIdentifier(uint32_t aIdentifier) = 0;

  /* attribute unsigned long depth; */
  NS_IMETHOD GetDepth(uint32_t *aDepth) = 0;
  NS_IMETHOD SetDepth(uint32_t aDepth) = 0;

  /* attribute unsigned long size; */
  NS_IMETHOD GetSize(uint32_t *aSize) = 0;
  NS_IMETHOD SetSize(uint32_t aSize) = 0;

  /* wstring GetDisplayName (); */
  NS_IMETHOD GetDisplayName(char16_t * *_retval) = 0;

  /* void SetDisplayName ([const] in wstring name); */
  NS_IMETHOD SetDisplayName(const char16_t * name) = 0;

  /* attribute boolean import; */
  NS_IMETHOD GetImport(bool *aImport) = 0;
  NS_IMETHOD SetImport(bool aImport) = 0;

  /* readonly attribute nsIFile file; */
  NS_IMETHOD GetFile(nsIFile * *aFile) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIImportMailboxDescriptor, NS_IIMPORTMAILBOXDESCRIPTOR_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIIMPORTMAILBOXDESCRIPTOR \
  NS_IMETHOD GetIdentifier(uint32_t *aIdentifier) override; \
  NS_IMETHOD SetIdentifier(uint32_t aIdentifier) override; \
  NS_IMETHOD GetDepth(uint32_t *aDepth) override; \
  NS_IMETHOD SetDepth(uint32_t aDepth) override; \
  NS_IMETHOD GetSize(uint32_t *aSize) override; \
  NS_IMETHOD SetSize(uint32_t aSize) override; \
  NS_IMETHOD GetDisplayName(char16_t * *_retval) override; \
  NS_IMETHOD SetDisplayName(const char16_t * name) override; \
  NS_IMETHOD GetImport(bool *aImport) override; \
  NS_IMETHOD SetImport(bool aImport) override; \
  NS_IMETHOD GetFile(nsIFile * *aFile) 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_NSIIMPORTMAILBOXDESCRIPTOR \
  NS_METHOD GetIdentifier(uint32_t *aIdentifier); \
  NS_METHOD SetIdentifier(uint32_t aIdentifier); \
  NS_METHOD GetDepth(uint32_t *aDepth); \
  NS_METHOD SetDepth(uint32_t aDepth); \
  NS_METHOD GetSize(uint32_t *aSize); \
  NS_METHOD SetSize(uint32_t aSize); \
  NS_METHOD GetDisplayName(char16_t * *_retval); \
  NS_METHOD SetDisplayName(const char16_t * name); \
  NS_METHOD GetImport(bool *aImport); \
  NS_METHOD SetImport(bool aImport); \
  NS_METHOD GetFile(nsIFile * *aFile); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIIMPORTMAILBOXDESCRIPTOR(_to) \
  NS_IMETHOD GetIdentifier(uint32_t *aIdentifier) override { return _to GetIdentifier(aIdentifier); } \
  NS_IMETHOD SetIdentifier(uint32_t aIdentifier) override { return _to SetIdentifier(aIdentifier); } \
  NS_IMETHOD GetDepth(uint32_t *aDepth) override { return _to GetDepth(aDepth); } \
  NS_IMETHOD SetDepth(uint32_t aDepth) override { return _to SetDepth(aDepth); } \
  NS_IMETHOD GetSize(uint32_t *aSize) override { return _to GetSize(aSize); } \
  NS_IMETHOD SetSize(uint32_t aSize) override { return _to SetSize(aSize); } \
  NS_IMETHOD GetDisplayName(char16_t * *_retval) override { return _to GetDisplayName(_retval); } \
  NS_IMETHOD SetDisplayName(const char16_t * name) override { return _to SetDisplayName(name); } \
  NS_IMETHOD GetImport(bool *aImport) override { return _to GetImport(aImport); } \
  NS_IMETHOD SetImport(bool aImport) override { return _to SetImport(aImport); } \
  NS_IMETHOD GetFile(nsIFile * *aFile) override { return _to GetFile(aFile); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIIMPORTMAILBOXDESCRIPTOR(_to) \
  NS_IMETHOD GetIdentifier(uint32_t *aIdentifier) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIdentifier(aIdentifier); } \
  NS_IMETHOD SetIdentifier(uint32_t aIdentifier) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIdentifier(aIdentifier); } \
  NS_IMETHOD GetDepth(uint32_t *aDepth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDepth(aDepth); } \
  NS_IMETHOD SetDepth(uint32_t aDepth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDepth(aDepth); } \
  NS_IMETHOD GetSize(uint32_t *aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSize(aSize); } \
  NS_IMETHOD SetSize(uint32_t aSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSize(aSize); } \
  NS_IMETHOD GetDisplayName(char16_t * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayName(_retval); } \
  NS_IMETHOD SetDisplayName(const char16_t * name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisplayName(name); } \
  NS_IMETHOD GetImport(bool *aImport) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImport(aImport); } \
  NS_IMETHOD SetImport(bool aImport) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetImport(aImport); } \
  NS_IMETHOD GetFile(nsIFile * *aFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFile(aFile); } 

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

/* Header file */
class nsImportMailboxDescriptor : public nsIImportMailboxDescriptor
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIIMPORTMAILBOXDESCRIPTOR

  nsImportMailboxDescriptor();

private:
  ~nsImportMailboxDescriptor();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsImportMailboxDescriptor, nsIImportMailboxDescriptor)

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

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

/* attribute unsigned long identifier; */
NS_IMETHODIMP nsImportMailboxDescriptor::GetIdentifier(uint32_t *aIdentifier)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImportMailboxDescriptor::SetIdentifier(uint32_t aIdentifier)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long depth; */
NS_IMETHODIMP nsImportMailboxDescriptor::GetDepth(uint32_t *aDepth)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImportMailboxDescriptor::SetDepth(uint32_t aDepth)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long size; */
NS_IMETHODIMP nsImportMailboxDescriptor::GetSize(uint32_t *aSize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImportMailboxDescriptor::SetSize(uint32_t aSize)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* wstring GetDisplayName (); */
NS_IMETHODIMP nsImportMailboxDescriptor::GetDisplayName(char16_t * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SetDisplayName ([const] in wstring name); */
NS_IMETHODIMP nsImportMailboxDescriptor::SetDisplayName(const char16_t * name)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean import; */
NS_IMETHODIMP nsImportMailboxDescriptor::GetImport(bool *aImport)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsImportMailboxDescriptor::SetImport(bool aImport)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIFile file; */
NS_IMETHODIMP nsImportMailboxDescriptor::GetFile(nsIFile * *aFile)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/*
  The default implementation can be obtained from
  nsIImportService::CreateNewMailboxDescriptor();
  You should only be interested in using this class if you implement
  the nsIImportMail interface in which case, just using the service to
  create new ones should work fine for you.  If not, implement your
  own.
*/

#endif /* __gen_nsIImportMailboxDescriptor_h__ */
