mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-15 23:13:07 +01:00
One value page working
This commit is contained in:
@@ -13,14 +13,6 @@ typedef struct{
|
||||
} PageData;
|
||||
|
||||
typedef struct{
|
||||
|
||||
}OutputData;
|
||||
|
||||
typedef struct{
|
||||
String distanceformat="m";
|
||||
String lengthformat="m";
|
||||
//...
|
||||
OutputData output;
|
||||
GwApi::Status status;
|
||||
GwLog *logger=NULL;
|
||||
GwConfigHandler *config=NULL;
|
||||
@@ -29,7 +21,7 @@ typedef struct{
|
||||
//a base class that all pages must inherit from
|
||||
class Page{
|
||||
public:
|
||||
virtual void display(CommonData &commonData, PageData &pageData)=0;
|
||||
virtual void displayPage(CommonData &commonData, PageData &pageData)=0;
|
||||
virtual void displayNew(CommonData &commonData, PageData &pageData){}
|
||||
//return -1 if handled by the page
|
||||
virtual int handleKey(int key){return key;}
|
||||
|
||||
Reference in New Issue
Block a user