diff -r 000000000000 -r 638b9c697799 apicompatanamdw/compatanalysercmd/headeranalyser/src/XMLModuleErrorHandler.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apicompatanamdw/compatanalysercmd/headeranalyser/src/XMLModuleErrorHandler.cpp Tue Jan 12 14:52:39 2010 +0530 @@ -0,0 +1,60 @@ +/* +* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + +#include "XMLModuleErrorHandler.h" + +// ---------------------------------------------------------------------------- +// MLModuleErrorHandler::XMLModuleErrorHandler +// ---------------------------------------------------------------------------- +// +XMLModuleErrorHandler::XMLModuleErrorHandler() + : iSawErrors(false) +{ +} + +// ---------------------------------------------------------------------------- +// MLModuleErrorHandler::~XMLModuleErrorHandler +// ---------------------------------------------------------------------------- +// +XMLModuleErrorHandler::~XMLModuleErrorHandler() { +} + +// ---------------------------------------------------------------------------- +// MLModuleErrorHandler::handleError +// ---------------------------------------------------------------------------- +// +bool XMLModuleErrorHandler::handleError(const DOMError& aError) { + bool ret = true; + return ret; +} + +// ---------------------------------------------------------------------------- +// MLModuleErrorHandler::sawErrors +// ---------------------------------------------------------------------------- +// +bool XMLModuleErrorHandler::sawErrors() const { + return iSawErrors; +} + +// ---------------------------------------------------------------------------- +// MLModuleErrorHandler::resetErrors +// ---------------------------------------------------------------------------- +// +void XMLModuleErrorHandler::resetErrors() { + iSawErrors = false; +}