engine/src/OpmlParser.cpp
changeset 7 a7a43293ae56
parent 2 29cda98b007e
child 20 c92d8384952c
equal deleted inserted replaced
6:e211a78d3037 7:a7a43293ae56
    69 		DP1("unknown charset: %S", &charset);
    69 		DP1("unknown charset: %S", &charset);
    70 	}
    70 	}
    71 	CleanupStack::PopAndDestroy(charset);
    71 	CleanupStack::PopAndDestroy(charset);
    72 	}
    72 	}
    73 
    73 
    74 void COpmlParser::OnEndDocumentL(TInt /*aErrorCode*/)
    74 void COpmlParser::OnEndDocumentL(TInt aErrorCode)
    75 	{
    75 	{
    76 	iFeedEngine.OpmlParsingComplete(iNumFeedsAdded);
    76 	iFeedEngine.OpmlParsingComplete(aErrorCode, iNumFeedsAdded);
    77 	//DP("OnEndDocumentL()");
    77 	//DP("OnEndDocumentL()");
    78 	}
    78 	}
    79 
    79 
    80 void COpmlParser::OnStartElementL(const RTagInfo& aElement, const RAttributeArray& aAttributes, TInt /*aErrorCode*/)
    80 void COpmlParser::OnStartElementL(const RTagInfo& aElement, const RAttributeArray& aAttributes, TInt /*aErrorCode*/)
    81 	{
    81 	{
   225 	}
   225 	}
   226 
   226 
   227 void COpmlParser::OnError(TInt aErrorCode)
   227 void COpmlParser::OnError(TInt aErrorCode)
   228 	{
   228 	{
   229 	DP1("COpmlParser::OnError %d", aErrorCode);
   229 	DP1("COpmlParser::OnError %d", aErrorCode);
   230 	iFeedEngine.OpmlParsingComplete(iNumFeedsAdded);
   230 	iFeedEngine.OpmlParsingComplete(aErrorCode, iNumFeedsAdded);
   231 	}
   231 	}
   232 
   232 
   233 TAny* COpmlParser::GetExtendedInterface(const TInt32 /*aUid*/)
   233 TAny* COpmlParser::GetExtendedInterface(const TInt32 /*aUid*/)
   234 	{
   234 	{
   235 	//DP("GetExtendedInterface()");
   235 	//DP("GetExtendedInterface()");