21 lines
374 B
C
21 lines
374 B
C
// hpglparser.h
|
|
|
|
#ifndef _HPGLPARSER_h
|
|
#define _HPGLPARSER_h
|
|
|
|
#include "WString.h"
|
|
#include "point.h"
|
|
#include <stdio.h>
|
|
|
|
String readHpglCmd();
|
|
bool tryReadPoint(Point *pt);
|
|
bool readSeparator();
|
|
String readStringUntil(char ch);
|
|
void addToBuffer(char ch);
|
|
void setBuffer(String in);
|
|
void purgeBuffer();
|
|
bool isBufferEmpty();
|
|
bool isBufferFull();
|
|
#endif
|
|
|