Back to index

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

#include <nsImportABDescriptor.h>

Inheritance diagram for nsImportABDescriptor:
Inheritance graph
[legend]
Collaboration diagram for nsImportABDescriptor:
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 GetRef (PRUint32 *pRef)
NS_IMETHOD SetRef (PRUint32 ref)
NS_IMETHOD GetSize (PRUint32 *pSize)
NS_IMETHOD SetSize (PRUint32 theSize)
NS_IMETHOD GetPreferredName (PRUnichar **pName)
NS_IMETHOD SetPreferredName (const PRUnichar *pName)
NS_IMETHOD GetFileSpec (nsIFileSpec **aFileSpec)
NS_IMETHOD GetImport (PRBool *pImport)
NS_IMETHOD SetImport (PRBool doImport)
 nsImportABDescriptor ()
virtual ~nsImportABDescriptor ()
wstring GetPreferredName ()
void SetPreferredName ([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 ref
attribute unsigned long size
readonly attribute nsIFileSpec fileSpec
attribute boolean

Private Attributes

PRUint32 m_id
PRUint32 m_ref
nsString m_displayName
nsIFileSpecm_pFileSpec
PRUint32 m_size
PRBool m_import

Detailed Description

Definition at line 50 of file nsImportABDescriptor.h.


Constructor & Destructor Documentation

Definition at line 64 of file nsImportABDescriptor.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual nsImportABDescriptor::~nsImportABDescriptor ( ) [inline, virtual]

Definition at line 79 of file nsImportABDescriptor.h.

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

Member Function Documentation

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

Definition at line 47 of file nsImportABDescriptor.cpp.

{
  if (aOuter)
    return NS_ERROR_NO_AGGREGATION;

  nsImportABDescriptor *it = new nsImportABDescriptor();
  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 71 of file nsImportABDescriptor.h.

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

Definition at line 55 of file nsImportABDescriptor.h.

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

Definition at line 74 of file nsImportABDescriptor.h.

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

Definition at line 67 of file nsImportABDescriptor.h.

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

Here is the call graph for this function:

wstring nsIImportABDescriptor::GetPreferredName ( ) [inherited]

Here is the caller graph for this function:

Definition at line 59 of file nsImportABDescriptor.h.

{ *pRef = m_ref; return( NS_OK);}

Definition at line 63 of file nsImportABDescriptor.h.

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

Definition at line 56 of file nsImportABDescriptor.h.

{ m_id = ident; return( NS_OK);}

Definition at line 75 of file nsImportABDescriptor.h.

{ m_import = doImport; return( NS_OK);}

Definition at line 68 of file nsImportABDescriptor.h.

{ m_displayName = pName; return( NS_OK);}
void nsIImportABDescriptor::SetPreferredName ( [const ] in wstring  name) [inherited]

Here is the caller graph for this function:

Definition at line 60 of file nsImportABDescriptor.h.

{ m_ref = ref; return( NS_OK);}

Definition at line 64 of file nsImportABDescriptor.h.

{ m_size = theSize; return( NS_OK);}

Member Data Documentation

Definition at line 92 of file nsIImportABDescriptor.idl.

Definition at line 87 of file nsIImportABDescriptor.idl.

Definition at line 59 of file nsIImportABDescriptor.idl.

Definition at line 86 of file nsImportABDescriptor.h.

Definition at line 84 of file nsImportABDescriptor.h.

Definition at line 89 of file nsImportABDescriptor.h.

Definition at line 87 of file nsImportABDescriptor.h.

Definition at line 85 of file nsImportABDescriptor.h.

Definition at line 88 of file nsImportABDescriptor.h.

Definition at line 60 of file nsIImportABDescriptor.idl.

Definition at line 68 of file nsIImportABDescriptor.idl.


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