Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsMsgIdentity.h File Reference
#include "nsIMsgIdentity.h"
#include "nsIPrefBranch.h"
#include "msgCore.h"
#include "nsISmtpServer.h"
#include "nsWeakPtr.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  NS_MSG_BASE

Defines

#define NS_IMPL_IDPREF_STR(_postfix, _prefname)
#define NS_IMPL_IDPREF_WSTR(_postfix, _prefname)
#define NS_IMPL_IDPREF_BOOL(_postfix, _prefname)
#define NS_IMPL_IDPREF_INT(_postfix, _prefname)
#define NS_IMPL_FOLDERPREF_STR(_postfix, _prefname)

Define Documentation

#define NS_IMPL_FOLDERPREF_STR (   _postfix,
  _prefname 
)
Value:
NS_IMETHODIMP                                                         \
nsMsgIdentity::Get##_postfix(char **retval)      \
{                                                                                   \
  return getFolderPref(_prefname, retval, PR_TRUE);            \
}                                                                                   \
NS_IMETHODIMP	   								\
nsMsgIdentity::Set##_postfix(const char *value)         \
{                                                                                   \
  return setFolderPref(_prefname, value);\
}

Definition at line 143 of file nsMsgIdentity.h.

#define NS_IMPL_IDPREF_BOOL (   _postfix,
  _prefname 
)
Value:
NS_IMETHODIMP                                                         \
nsMsgIdentity::Get##_postfix(PRBool *retval)     \
{                                                                                   \
  return getBoolPref(_prefname, retval);         \
}                                                                                   \
NS_IMETHODIMP	   								\
nsMsgIdentity::Set##_postfix(PRBool value)              \
{                                                                                   \
  return setBoolPref(_prefname, value);                 \
}

Definition at line 118 of file nsMsgIdentity.h.

#define NS_IMPL_IDPREF_INT (   _postfix,
  _prefname 
)
Value:
NS_IMETHODIMP                                                         \
nsMsgIdentity::Get##_postfix(PRInt32 *retval)   \
{                                                                                   \
  return getIntPref(_prefname, retval);          \
}                                                                                   \
NS_IMETHODIMP	   								\
nsMsgIdentity::Set##_postfix(PRInt32 value)             \
{                                                                                   \
  return setIntPref(_prefname, value);                  \
}

Definition at line 130 of file nsMsgIdentity.h.

#define NS_IMPL_IDPREF_STR (   _postfix,
  _prefname 
)
Value:
NS_IMETHODIMP                                                         \
nsMsgIdentity::Get##_postfix(char **retval)      \
{                                                                                   \
  return getCharPref(_prefname, retval);         \
}                                                                                   \
NS_IMETHODIMP	   								\
nsMsgIdentity::Set##_postfix(const char *value)         \
{                                                                                   \
  return setCharPref(_prefname, value);\
}

Definition at line 94 of file nsMsgIdentity.h.

#define NS_IMPL_IDPREF_WSTR (   _postfix,
  _prefname 
)
Value:
NS_IMETHODIMP                                                         \
nsMsgIdentity::Get##_postfix(PRUnichar **retval)\
{                                                                                   \
  return getUnicharPref(_prefname, retval);             \
}                                                                                   \
NS_IMETHODIMP	   								\
nsMsgIdentity::Set##_postfix(const PRUnichar *value)\
{                                                                                   \
  return setUnicharPref(_prefname, value);\
}

Definition at line 106 of file nsMsgIdentity.h.