~aleteoryx/muditaos

ref: 6ab09d5ffd058c85484bd9dcd6f3cc9d865549bc muditaos/module-apps/application-clock/ClockData.hpp -rw-r--r-- 559 bytes
6ab09d5f — Piotr Tański [EGD-7459] Fixed factory reset process 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#ifndef MODULE_APPS_APPLICATION_CLOCK_CLOCKDATA_HPP_
#define MODULE_APPS_APPLICATION_CLOCK_CLOCKDATA_HPP_

#include <cstdint>
#include "SwitchData.hpp"

class ClockData : public gui::SwitchData
{
  public:
    uint32_t hour;
    uint32_t minute;
    ClockData(uint32_t hour = 0, uint32_t minute = 0) : hour{hour}, minute{minute} {};
    virtual ~ClockData(){};
};

#endif /* MODULE_APPS_APPLICATION_CLOCK_CLOCKDATA_HPP_ */