#pragma once #include #include #include "serialib.h" using namespace std; enum LANG{ ENGLISH = 0, GERMAN = 1 }; enum PAGETYPE{ TEXT = 0, IMAGE = 1 }; struct ssup_config { int firmware; int model; int eeprom_size = 8; int eeprom_address; int screen_address; int toc_size; int threshhold; int contrast; bool locked; int textx = 21; int texty = 4; int imagex = 128; int imagey = 32; }; struct page { PAGETYPE type; void* data; }; const string modelLookup[] = { "SHARP EL-W531XG" }; static serialib serial; static ssup_config config; static int appLang = LANG::GERMAN; static int applicationStyle = 1; static int currentPage = 0; static bool connected = false; static vector pages;