Files
Upsilon/apps/xnt_loop.h
2022-07-06 22:52:49 +02:00

16 lines
293 B
C++

#ifndef APPS_XNT_LOOP
#define APPS_XNT_LOOP
#include <ion/unicode/code_point.h>
class XNTLoop {
public:
XNTLoop(): m_loopIndex(-1) {}
void reset() { m_loopIndex = -1; }
CodePoint XNT(CodePoint defaultCodePoint, bool * shouldRemoveLastCharacter);
private:
int m_loopIndex;
};
#endif