mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-15 17:40:51 -05:00
massive switch case removed added logger moved state machine implementation added double dispatch
21 lines
450 B
C++
21 lines
450 B
C++
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
#include "CommandData.hpp"
|
|
|
|
namespace bluetooth
|
|
{
|
|
|
|
class BatteryLevelData : public Action
|
|
{
|
|
public:
|
|
explicit BatteryLevelData(const BatteryLevel &level);
|
|
auto getData() -> DataVariant override;
|
|
|
|
private:
|
|
BatteryLevel level;
|
|
};
|
|
|
|
} // namespace bluetooth
|