mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-16 04:23:36 -04:00
40 lines
892 B
C++
40 lines
892 B
C++
// 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 <Service/Message.hpp>
|
|
|
|
namespace locks
|
|
{
|
|
class UnlockPhone : public sys::DataMessage
|
|
{};
|
|
|
|
class CancelUnlockPhone : public sys::DataMessage
|
|
{};
|
|
|
|
class UnlockedPhone : public sys::DataMessage
|
|
{};
|
|
|
|
class LockPhone : public sys::DataMessage
|
|
{};
|
|
|
|
class LockedPhone : public sys::DataMessage
|
|
{};
|
|
|
|
class UnLockPhoneInput : public sys::DataMessage
|
|
{
|
|
private:
|
|
std::vector<unsigned int> inputData;
|
|
|
|
public:
|
|
explicit UnLockPhoneInput(std::vector<unsigned int> inputData) : DataMessage{}, inputData(std::move(inputData))
|
|
{}
|
|
|
|
[[nodiscard]] auto getInputData() const noexcept
|
|
{
|
|
return inputData;
|
|
}
|
|
};
|
|
} // namespace locks
|