actual/packages/node-libofx/OpenSP-1.5.2/include/MessageBuilder.h
2022-04-28 22:44:38 -04:00

31 lines
709 B
C++

// Copyright (c) 1994 James Clark
// See the file COPYING for copying permission.
#ifndef MessageBuilder_INCLUDED
#define MessageBuilder_INCLUDED 1
#include <stddef.h>
#include "types.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
class OtherMessageArg;
class MessageFragment;
class SP_API MessageBuilder {
public:
inline virtual ~MessageBuilder() {}
virtual void appendNumber(unsigned long) = 0;
virtual void appendOrdinal(unsigned long) = 0;
virtual void appendChars(const Char *, size_t) = 0;
virtual void appendOther(const OtherMessageArg *) = 0;
virtual void appendFragment(const MessageFragment &) = 0;
};
#ifdef SP_NAMESPACE
}
#endif
#endif /* not MessageBuilder_INCLUDED */