2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADASaxFrameworkLoader.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
11
#ifndef __COLLADASAXFWL_IERRORHANDLER_H__
12
#define __COLLADASAXFWL_IERRORHANDLER_H__
14
#include "COLLADASaxFWLPrerequisites.h"
17
namespace COLLADASaxFWL
21
/** Interface to handle errors that occur while parsing a collada file*/
32
virtual ~IErrorHandler();
34
/** If this method returns true, the loader stops parsing immediately. If severity is nor CRITICAL
35
and this method returns false, the loader continues loading.*/
36
bool virtual handleError(const IError* error) = 0;
40
/** Disable default copy ctor. */
41
IErrorHandler( const IErrorHandler& pre );
43
/** Disable default assignment operator. */
44
const IErrorHandler& operator= ( const IErrorHandler& pre );
48
} // namespace COLLADASAXFWL
50
#endif // __COLLADASAXFWL_IERRORHANDLER_H__