actual/packages/node-libofx/OpenSP-1.5.2/include/MessageBuilder.h

32 lines
709 B
C
Raw Normal View History

2022-04-29 02:44:38 +00:00
// 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 */