/* * GraphLCD driver library * * g15daemon.h - pseudo device for the g15daemon * Output goes to the g15daemon which then displays it * * (c) 2005-2010 Andreas Regel * (c) 2011-2013 Wolfgang Astleitner */ #ifndef _GLCDDRIVERS_G15DAEMON_H_ #define _GLCDDRIVERS_G15DAEMON_H_ #include "driver.h" namespace GLCD { class cDriverConfig; class cDriverG15daemon : public cDriver { private: char *offbuff; int sockfd; long int screensize; int CheckSetup(); public: cDriverG15daemon(cDriverConfig * config); virtual int Init(); virtual int DeInit(); virtual void Clear(); virtual void SetPixel(int x, int y, uint32_t data); //virtual void Set8Pixels(int x, int y, unsigned char data); virtual void Refresh(bool refreshAll = false); }; } // end of namespace #endif