~aleteoryx/muditaos

ref: b8239928370663155dc8556354b3715dd387fc5a muditaos/module-apps/locks/handlers/PhoneLockSubject.hpp -rw-r--r-- 502 bytes
b8239928 — Jakub Pyszczak [EGD-6655] Screen light when active 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
// 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 <module-sys/Service/Service.hpp>

namespace locks
{
    class PhoneLockSubject
    {
      private:
        sys::Service *owner;

      public:
        explicit PhoneLockSubject(sys::Service *owner);

        void unlock();
        void lock();
        void verifyInput(const std::vector<unsigned int> &inputData);
    };

} // namespace lock