~aleteoryx/muditaos

ref: 299be4daf6da880f495f4dc363e480d6ff0f0e9b muditaos/module-services/service-appmgr/ApplicationManifest.hpp -rw-r--r-- 502 bytes
299be4da — Piotr Tanski [EGD-4151] Application manager actions introduced. (#905) 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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 "Actions.hpp"

namespace app::manager
{
    struct ApplicationManifest
    {
        ApplicationManifest(actions::ActionFilter _actions = {});

        auto contains(actions::ActionId action) const noexcept -> bool;

        /// Actions the application can respond to.
        actions::ActionFilter actions;
    };
} // namespace app::manager