Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > 04ec647bc8ec2e1432288d07cd8bef43 > files > 165

OpenSP-debug-1.5.2-5mdv2009.0.x86_64.rpm

// Copyright (c) 1999 Matthias Clasen
// See the file COPYING for copying permission.

#ifndef DtdDeclEventHandler_INCLUDED
#define DtdDeclEventHandler_INCLUDED 1

#include "Boolean.h"
#include "Event.h"
#include "ErrorCountEventHandler.h"

#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif

class DtdDeclEventHandler : public ErrorCountEventHandler {
 public:
  DtdDeclEventHandler(const StringC &pubid);
  void message(MessageEvent *);
  void startDtd(StartDtdEvent *);
  Boolean match() const;
 private:
  StringC pubid_;
  Boolean match_;
};

#ifdef SP_NAMESPACE
}
#endif

#endif /* not DtdDeclEventHandler_INCLUDED */