SourceForge.net Logo

MessageListener.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2001-2006
00003  *     DecisionSoft Limited. All rights reserved.
00004  * Copyright (c) 2004-2006
00005  *     Progress Software Corporation. All rights reserved.
00006  * Copyright (c) 2004-2006
00007  *     Oracle. All rights reserved.
00008  *
00009  * See the file LICENSE for redistribution information.
00010  *
00011  * $Id: MessageListener.hpp,v 1.1 2006/12/02 02:11:48 jpcs Exp $
00012  */
00013 
00014 #ifndef _MESSAGELISTENER_HPP
00015 #define _MESSAGELISTENER_HPP
00016 
00017 #include <xqilla/framework/XQillaExport.hpp>
00018 #include <xercesc/util/XercesDefs.hpp>
00019 
00020 class LocationInfo;
00021 class DynamicContext;
00022 class Sequence;
00023 
00027 class XQILLA_API MessageListener {
00028 public:
00029   /* virtual destructor, does nothing */
00030   virtual ~MessageListener() {};
00031 
00035   virtual void warning(const XMLCh *message, const LocationInfo *location) = 0;
00036 
00040   virtual void trace(const XMLCh *label, const Sequence &sequence, const LocationInfo *location, const DynamicContext *context) = 0;
00041 
00042 };
00043 #endif

Generated on Fri Aug 31 14:37:35 2007 for XQilla Simple API by  doxygen 1.5.1