Ocky Kristanto / NextionSerial
Committer:
Ocky Kristanto
Date:
Wed Mar 03 09:01:07 2021 +0100
Revision:
0:87b7b2ae63c3
feat: initial version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Ocky Kristanto 0:87b7b2ae63c3 1 #pragma once
Ocky Kristanto 0:87b7b2ae63c3 2
Ocky Kristanto 0:87b7b2ae63c3 3 #include "Button.h"
Ocky Kristanto 0:87b7b2ae63c3 4
Ocky Kristanto 0:87b7b2ae63c3 5 #include <cstdint>
Ocky Kristanto 0:87b7b2ae63c3 6 #include <string>
Ocky Kristanto 0:87b7b2ae63c3 7
Ocky Kristanto 0:87b7b2ae63c3 8 class NextionSerial;
Ocky Kristanto 0:87b7b2ae63c3 9
Ocky Kristanto 0:87b7b2ae63c3 10 class DualStateButton : public Button
Ocky Kristanto 0:87b7b2ae63c3 11 {
Ocky Kristanto 0:87b7b2ae63c3 12 public:
Ocky Kristanto 0:87b7b2ae63c3 13 explicit DualStateButton(uint32_t aPage, uint32_t aId, const std::string& aObjectName, NextionSerial& aNextionSerial);
Ocky Kristanto 0:87b7b2ae63c3 14 bool GetState() const;
Ocky Kristanto 0:87b7b2ae63c3 15 };
Ocky Kristanto 0:87b7b2ae63c3 16