~aleteoryx/muditaos

ref: f724d9074ba9cfd662b18d7b9de7fcb18548824b muditaos/module-services/service-desktop/endpoints/developerMode/Mode/UI_Helper.hpp -rw-r--r-- 594 bytes
f724d907 — Adam Dobrowolski [EGD-5701] Added DOM dump to harness 4 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
// 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 <endpoints/Context.hpp>
#include <Service/Common.hpp>
#include "BaseHelper.hpp"

namespace parserFSM
{

    class UI_Helper : public BaseHelper
    {

      public:
        explicit UI_Helper(sys::Service *p) : BaseHelper(p)
        {}

        /// returns DOM async
        auto processGet(Context &context) -> ProcessResult final;
        void preProcess(http::Method method, Context &context) final;
    };
} // namespace parserFSM