~aleteoryx/muditaos

ref: 1da915ace94b631914c768efcb878e0a6393195e muditaos/module-apps/application-clock/ClockData.hpp -rw-r--r-- 559 bytes
1da915ac — Wojtek Rzepecki [BH-777] Add Bell specific ld script configuration 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_ */