Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes
nsImportMailboxDescriptor Class Reference

#include <nsImportMailboxDescriptor.h>

Inheritance diagram for nsImportMailboxDescriptor:
Inheritance graph
[legend]
Collaboration diagram for nsImportMailboxDescriptor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_DECL_ISUPPORTS NS_IMETHOD GetIdentifier (PRUint32 *pIdentifier)
NS_IMETHOD SetIdentifier (PRUint32 ident)
NS_IMETHOD GetDepth (PRUint32 *pDepth)
NS_IMETHOD SetDepth (PRUint32 theDepth)
NS_IMETHOD GetSize (PRUint32 *pSize)
NS_IMETHOD SetSize (PRUint32 theSize)
NS_IMETHOD GetDisplayName (PRUnichar **pName)
NS_IMETHOD SetDisplayName (const PRUnichar *pName)
NS_IMETHOD GetImport (PRBool *pImport)
NS_IMETHOD SetImport (PRBool doImport)
NS_IMETHOD GetFileSpec (nsIFileSpec **aFileSpec)
 nsImportMailboxDescriptor ()
virtual ~nsImportMailboxDescriptor ()
wstring GetDisplayName ()
void SetDisplayName ([const ] in wstring name)

Static Public Member Functions

static NS_METHOD Create (nsISupports *aOuter, REFNSIID aIID, void **aResult)

Public Attributes

attribute unsigned long identifier
attribute unsigned long depth
attribute unsigned long size
attribute boolean
readonly attribute nsIFileSpec fileSpec

Private Attributes

PRUint32 m_id
PRUint32 m_depth
nsString m_displayName
nsIFileSpecm_pFileSpec
PRUint32 m_size
PRBool m_import

Detailed Description

Definition at line 49 of file nsImportMailboxDescriptor.h.


Constructor & Destructor Documentation

Definition at line 64 of file nsImportMailboxDescriptor.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 79 of file nsImportMailboxDescriptor.h.

{ if (m_pFileSpec) m_pFileSpec->Release();}

Member Function Documentation

NS_METHOD nsImportMailboxDescriptor::Create ( nsISupports *  aOuter,
REFNSIID  aIID,
void **  aResult 
) [static]

Definition at line 47 of file nsImportMailboxDescriptor.cpp.

{
  if (aOuter)
    return NS_ERROR_NO_AGGREGATION;

  nsImportMailboxDescriptor *it = new nsImportMailboxDescriptor();
  if (it == nsnull)
    return NS_ERROR_OUT_OF_MEMORY;

  NS_ADDREF( it);
  nsresult rv = it->QueryInterface( aIID, aResult);
  NS_RELEASE( it);
  return rv;
}

Here is the call graph for this function:

Definition at line 58 of file nsImportMailboxDescriptor.h.

{ *pDepth = m_depth; return( NS_OK);}

Here is the caller graph for this function:

Definition at line 66 of file nsImportMailboxDescriptor.h.

{ *pName = ToNewUnicode(m_displayName); return( NS_OK);}

Here is the call graph for this function:

Definition at line 74 of file nsImportMailboxDescriptor.h.

{ if (m_pFileSpec) { m_pFileSpec->AddRef(); *aFileSpec = m_pFileSpec; return( NS_OK);} else return( NS_ERROR_FAILURE); }

Definition at line 54 of file nsImportMailboxDescriptor.h.

{ *pIdentifier = m_id; return( NS_OK);}

Definition at line 70 of file nsImportMailboxDescriptor.h.

{ *pImport = m_import; return( NS_OK);}

Definition at line 62 of file nsImportMailboxDescriptor.h.

{ *pSize = m_size; return( NS_OK);}

Definition at line 59 of file nsImportMailboxDescriptor.h.

{ m_depth = theDepth; return( NS_OK);}
void nsIImportMailboxDescriptor::SetDisplayName ( [const ] in wstring  name) [inherited]

Here is the caller graph for this function:

Definition at line 67 of file nsImportMailboxDescriptor.h.

{ m_displayName = pName; return( NS_OK);}

Definition at line 55 of file nsImportMailboxDescriptor.h.

{ m_id = ident; return( NS_OK);}

Definition at line 71 of file nsImportMailboxDescriptor.h.

{ m_import = doImport; return( NS_OK);}

Definition at line 63 of file nsImportMailboxDescriptor.h.

{ m_size = theSize; return( NS_OK);}

Member Data Documentation

Definition at line 60 of file nsIImportMailboxDescriptor.idl.

Definition at line 54 of file nsIImportMailboxDescriptor.idl.

Definition at line 61 of file nsIImportMailboxDescriptor.idl.

Definition at line 53 of file nsIImportMailboxDescriptor.idl.

Definition at line 85 of file nsImportMailboxDescriptor.h.

Definition at line 86 of file nsImportMailboxDescriptor.h.

Definition at line 84 of file nsImportMailboxDescriptor.h.

Definition at line 89 of file nsImportMailboxDescriptor.h.

Definition at line 87 of file nsImportMailboxDescriptor.h.

Definition at line 88 of file nsImportMailboxDescriptor.h.

Definition at line 55 of file nsIImportMailboxDescriptor.idl.


The documentation for this class was generated from the following files: