mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-18 22:18:38 -04:00
24 lines
566 B
C++
24 lines
566 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include "StaticData.hpp"
|
|
|
|
namespace service::eink::internal
|
|
{
|
|
StaticData &StaticData::get()
|
|
{
|
|
static StaticData instance;
|
|
return instance;
|
|
}
|
|
|
|
void StaticData::setInvertedMode(bool enabled) noexcept
|
|
{
|
|
invertedEnabled = enabled;
|
|
}
|
|
|
|
auto StaticData::isInvertedModeEnabled() const noexcept -> bool
|
|
{
|
|
return invertedEnabled;
|
|
}
|
|
} // namespace service::eink::internal
|