~aleteoryx/muditaos

ref: ea13bda5c7c1a4a43f29dbebef33de49ef5686c6 muditaos/module-apps/application-settings-new/ApplicationSettings.hpp -rw-r--r-- 916 bytes
ea13bda5 — RobertPiet [EGD-3681] settings main screen updated to the design chart https://projects.invisionapp.com/d/main#/console/18241335/385967135/preview 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once

#include "Application.hpp"

#include "bsp/common.hpp"

namespace app
{

    inline const std::string name_settings_new = "ApplicationSettingsNew";

    class ApplicationSettingsNew : public app::Application
    {
      public:
        ApplicationSettingsNew(std::string name    = name_settings_new,
                               std::string parent  = "",
                               bool startBackgound = false);
        sys::Message_t DataReceivedHandler(sys::DataMessage *msgl, sys::ResponseMessage *resp) override;
        sys::ReturnCodes InitHandler() override;

        sys::ReturnCodes SwitchPowerModeHandler(const sys::ServicePowerMode mode) override final
        {
            return sys::ReturnCodes::Success;
        }

        void createUserInterface() override;
        void destroyUserInterface() override;
        bsp::Board board = bsp::Board::none;
    };

} /* namespace app */