RastEventHandler.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#pragma ident "%Z%%M% %I% %E% SMI"
#ifndef RastEventHandler_INCLUDED
#define RastEventHandler_INCLUDED 1
#ifdef __GNUG__
#pragma interface
#endif
#include "Event.h"
#include "Vector.h"
#include "Vector.h"
#include "Boolean.h"
#include "Vector.h"
#include "StringC.h"
#include "types.h"
#include "OutputCharStream.h"
#include "LinkProcess.h"
#include "Message.h"
#include "Link.h"
#include "IQueue.h"
#include "ErrorCountEventHandler.h"
#include <limits.h>
#include <stddef.h>
#ifdef SP_NAMESPACE
#endif
};
void setHandler(RastEventHandler *);
void swap(RastLinkProcess &);
};
};
void swap(RastSubdocState &);
enum AttributeType {
};
};
void startElement(StartElementEvent *);
void endElement(EndElementEvent *);
void sdataEntity(SdataEntityEvent *);
void subdocEntity(SubdocEntityEvent *);
void nonSgmlChar(NonSgmlCharEvent *);
void sgmlDecl(SgmlDeclEvent *);
void endProlog(EndPrologEvent *);
void uselink(UselinkEvent *);
virtual void truncateOutput();
void end();
static const char *messageText(int);
static const char messageSource[];
void initMessage(Message &);
void dispatchMessage(const Message &);
};
enum { maxLineLength = 60 };
#if 0
static const RastPrintable printable;
#else
static RastPrintable printable;
#endif
int lineLength_;
unsigned piErrorCount_;
void subdocEntityInfo(const SubdocEntity *,
void externalIdInfo(const ExternalId &);
void internalEntityInfo(const InternalEntity *);
void queueParseSubdoc(Boolean);
const Location &);
void activeLinks();
void simpleLinkInfo();
void impliedSourceLinkRules();
OutputCharStream &os();
};
inline
{
}
inline
{
}
inline
{
return *os_;
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not RastEventHandler_INCLUDED */