Přeskočit obsah

File AppAlojz.hpp

File List > apps > AppAlojz.hpp

Go to the documentation of this file.

#pragma once

#include "Application.hpp"
#include "apps/AppConfig.hpp"
#include <Arduino_JSON.h>
#include <GxGDEW027C44/GxGDEW027C44.h>
#include <functional>

class AppAlojz : public Application {
private:
protected:
    std::string dayKey;

public:
    AppAlojz(int updateIntervalSec, AppConfig& appConfig);

    std::string toString();

    void buttonClickMiddle();

    void buttonClickRight();

    int showDataOnDisplay(GxEPD* display, JSONVar data);

    void showMarkLine(GxEPD* display, std::string date, std::string subject, std::string mark);
};