Files
MuditaOS/module-services/service-db/agents/settings/FactorySettings.hpp
Lefucjusz ebcd139412 [CP-1962] Add Harmony color detection
* Added serial number based Harmony color
detection.
* Unified serial number handling for both
products.
2023-06-06 14:37:52 +02:00

25 lines
796 B
C++

// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <Database/Database.hpp>
namespace settings
{
namespace factory
{
static constexpr auto entry_key = "factory_data";
static constexpr auto serial_number_key = "serial";
static constexpr auto case_colour_key = "case_colour";
}
class FactorySettings
{
public:
virtual ~FactorySettings() = default;
[[nodiscard]] virtual auto getMfgEntries() const -> std::unique_ptr<QueryResult> = 0;
virtual auto initDb(Database *database) const -> void = 0;
};
} // namespace settings