mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 06:59:13 -04:00
added weakptr link to settings and checks
it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
- deregistration on Settings destrution
- weak referencing of Service to not crash Settings on missuse
- Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
Removed dependency from freertos in test global file
EntryPath tests updated and compilation slimed
21 lines
422 B
C++
21 lines
422 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include "MessageForward.hpp"
|
|
#include <functional>
|
|
|
|
namespace sys
|
|
{
|
|
using MessageHandler = std::function<MessagePointer(Message *)>;
|
|
|
|
struct Proxy;
|
|
class Timer;
|
|
|
|
namespace timer
|
|
{
|
|
class SystemTimer;
|
|
} // namespace timer
|
|
} // namespace sys
|