Initial battery impl

This commit is contained in:
2026-03-27 16:13:30 +01:00
parent 6d47582eba
commit f000924c05
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
// Copyright (C) 2026 Hector van der Aa <hector@h3cx.dev>
// Copyright (C) 2026 Association Exergie <association.exergie@gmail.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#include "battery.h"
int battery::push(const Task &task) { return _queue.push(task); }
battery::battery() : _logger(nullptr) {}
battery::battery(system_logger *logger)
: _logger(logger) {}
battery::~battery() {}