~aleteoryx/muditaos

ref: 0823d82e5141f44812c54debf07245d0ca746124 muditaos/module-apps/application-clock/ClockData.hpp -rw-r--r-- 596 bytes
0823d82e — Radoslaw Wicik [EGD-3743] Update copyrights in fies - add empty line after license 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * @file ClockData.hpp
 * @author Robert Borzecki (robert.borzecki@mudita.com)
 * @date 18 cze 2019
 * @brief
 * @copyright Copyright (C) 2019 mudita.com
 * @details
 */
#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_ */