~aleteoryx/muditaos

ref: dca37deb75987037d7770a61e8a8daf8225c9d03 muditaos/module-apps/application-alarm-clock/widgets/AlarmInternalListItem.hpp -rw-r--r-- 611 bytes
dca37deb — Wiktor S. Ovalle Correa [EGD-5297] Fix Release build on linux 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once
#include <module-db/Interface/AlarmsRecord.hpp>
#include <ListItem.hpp>

namespace gui
{
    class AlarmInternalListItem : public ListItem
    {
      public:
        std::function<void(std::shared_ptr<AlarmsRecord> event)> onSaveCallback = nullptr;
        std::function<void(std::shared_ptr<AlarmsRecord> event)> onLoadCallback = nullptr;
        std::function<bool()> onContentChangedCallback                          = nullptr;
    };

} /* namespace gui */