sbiTunesXMLParser.cpp File Reference
#include "sbiTunesXMLParser.h"
#include <prlog.h>
#include <nsComponentManagerUtils.h>
#include <nsCRTGlue.h>
#include <nsISAXAttributes.h>
#include <nsISAXLocator.h>
#include <nsIInputStreamPump.h>
#include <nsThreadUtils.h>
#include <sbIiTunesXMLParserListener.h>
#include <sbProxiedComponentManager.h>
#include <sbFileUtils.h>
Include dependency graph for sbiTunesXMLParser.cpp:

Go to the source code of this file.

Macros

#define TRACE(args)   /* nothing */
 
#define LOG(args)   /* nothing */
 

Functions

nsString BuildErrorMessage (char const *aType, nsISAXLocator *aLocator, nsAString const &aError)
 
void LogStartElement (const nsAString &aURI, const nsAString &aLocalName, const nsAString &qName, nsISAXAttributes *aAttributes)
 
void LogError (char const *aType, nsISAXLocator *aLocator, nsAString const &aError)
 
 NS_IMPL_THREADSAFE_ISUPPORTS3 (sbiTunesXMLParser, sbIiTunesXMLParser, nsISAXContentHandler, nsISAXErrorHandler) char const XML_CONTENT_TYPE[]
 

Variables

char const NS_SAXXMLREADER_CONTRACTID [] = "@mozilla.org/saxparser/xmlreader;1"
 

Macro Definition Documentation

#define LOG (   args)    /* nothing */

Definition at line 112 of file sbiTunesXMLParser.cpp.

#define TRACE (   args)    /* nothing */

Definition at line 111 of file sbiTunesXMLParser.cpp.

Function Documentation

nsString BuildErrorMessage ( char const *  aType,
nsISAXLocator *  aLocator,
nsAString const &  aError 
)
inline

Definition at line 43 of file sbiTunesXMLParser.cpp.

void LogError ( char const *  aType,
nsISAXLocator *  aLocator,
nsAString const &  aError 
)
inline

Definition at line 120 of file sbiTunesXMLParser.cpp.

void LogStartElement ( const nsAString &  aURI,
const nsAString &  aLocalName,
const nsAString &  qName,
nsISAXAttributes *  aAttributes 
)
inline

Definition at line 114 of file sbiTunesXMLParser.cpp.

NS_IMPL_THREADSAFE_ISUPPORTS3 ( sbiTunesXMLParser  ,
sbIiTunesXMLParser  ,
nsISAXContentHandler  ,
nsISAXErrorHandler   
) const

Variable Documentation

char const NS_SAXXMLREADER_CONTRACTID[] = "@mozilla.org/saxparser/xmlreader;1"

Definition at line 133 of file sbiTunesXMLParser.cpp.