mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-11-29 01:49:19 +00:00
22 lines
390 B
C
22 lines
390 B
C
|
#ifndef __LINUX_PRINTER_H
|
||
|
#define __LINUX_PRINTER_H
|
||
|
|
||
|
#include <stdlib.h>
|
||
|
#include <inttypes.h>
|
||
|
|
||
|
#include "physicalprinter.h"
|
||
|
|
||
|
class LinuxPrinter : public PhysicalPrinter {
|
||
|
public:
|
||
|
LinuxPrinter();
|
||
|
virtual ~LinuxPrinter();
|
||
|
|
||
|
virtual void addLine(uint8_t *rowOfBits); // must be 960 pixels wide (120 bytes)
|
||
|
|
||
|
virtual void update();
|
||
|
|
||
|
virtual void moveDownPixels(uint8_t p);
|
||
|
};
|
||
|
|
||
|
#endif
|