Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsXULContentUtils.cpp File Reference
#include "nsCOMPtr.h"
#include "nsIContent.h"
#include "nsINodeInfo.h"
#include "nsIDocument.h"
#include "nsIDOMElement.h"
#include "nsIDOMXULCommandDispatcher.h"
#include "nsIDOMXULDocument.h"
#include "nsIRDFNode.h"
#include "nsINameSpaceManager.h"
#include "nsIRDFService.h"
#include "nsIServiceManager.h"
#include "nsITextContent.h"
#include "nsIURL.h"
#include "nsXULContentUtils.h"
#include "nsIXULPrototypeCache.h"
#include "nsLayoutCID.h"
#include "nsNetUtil.h"
#include "nsRDFCID.h"
#include "nsString.h"
#include "nsXPIDLString.h"
#include "nsXULAtoms.h"
#include "prlog.h"
#include "prtime.h"
#include "rdf.h"
#include "nsContentUtils.h"
#include "nsIDateTimeFormat.h"
#include "nsDateTimeFormatCID.h"
#include "nsIScriptableDateFormat.h"
#include "nsIDOMXULElement.h"
#include "nsXULResourceList.h"

Go to the source code of this file.

Defines

#define XUL_RESOURCE(ident, uri)   nsIRDFResource* nsXULContentUtils::ident
#define XUL_LITERAL(ident, val)   nsIRDFLiteral* nsXULContentUtils::ident
#define XUL_RESOURCE(ident, uri)
#define XUL_LITERAL(ident, val)
#define XUL_RESOURCE(ident, uri)   NS_IF_RELEASE(ident)
#define XUL_LITERAL(ident, val)   NS_IF_RELEASE(ident)

Functions

static NS_DEFINE_CID (kDateTimeFormatCID, NS_DATETIMEFORMAT_CID)
static NS_DEFINE_CID (kRDFServiceCID, NS_RDFSERVICE_CID)

Define Documentation

#define XUL_LITERAL (   ident,
  val 
)    nsIRDFLiteral* nsXULContentUtils::ident

Definition at line 101 of file nsXULContentUtils.cpp.

#define XUL_LITERAL (   ident,
  val 
)
Value:
PR_BEGIN_MACRO                                                  \
   rv = gRDF->GetLiteral(NS_LITERAL_STRING(val).get(), &(ident)); \
   if (NS_FAILED(rv)) return rv;                                  \
  PR_END_MACRO

Definition at line 101 of file nsXULContentUtils.cpp.

#define XUL_LITERAL (   ident,
  val 
)    NS_IF_RELEASE(ident)

Definition at line 101 of file nsXULContentUtils.cpp.

#define XUL_RESOURCE (   ident,
  uri 
)    nsIRDFResource* nsXULContentUtils::ident

Definition at line 100 of file nsXULContentUtils.cpp.

#define XUL_RESOURCE (   ident,
  uri 
)
Value:
PR_BEGIN_MACRO                                              \
   rv = gRDF->GetResource(NS_LITERAL_CSTRING(uri), &(ident)); \
   if (NS_FAILED(rv)) return rv;                              \
  PR_END_MACRO

Definition at line 100 of file nsXULContentUtils.cpp.

#define XUL_RESOURCE (   ident,
  uri 
)    NS_IF_RELEASE(ident)

Definition at line 100 of file nsXULContentUtils.cpp.


Function Documentation

static NS_DEFINE_CID ( kDateTimeFormatCID  ,
NS_DATETIMEFORMAT_CID   
) [static]
static NS_DEFINE_CID ( kRDFServiceCID  ,
NS_RDFSERVICE_CID   
) [static]