Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F325851
matrix-device.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
865 B
Referenced Files
None
Subscribers
None
matrix-device.hpp
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2023 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include
<libkazv-config.hpp>
#include
<immer/config.hpp>
// https://github.com/arximboldi/immer/issues/168
#include
<QObject>
#include
<QQmlEngine>
#include
<QString>
#include
<lager/extra/qt.hpp>
#include
<client.hpp>
class
MatrixDevice
:
public
QObject
{
Q_OBJECT
QML_ELEMENT
QML_UNCREATABLE
(
""
)
lager
::
reader
<
Kazv
::
DeviceKeyInfo
>
m_device
;
public
:
explicit
MatrixDevice
(
lager
::
reader
<
Kazv
::
DeviceKeyInfo
>
device
,
QObject
*
parent
=
0
);
~
MatrixDevice
()
override
;
LAGER_QT_READER
(
QString
,
deviceId
);
LAGER_QT_READER
(
QString
,
ed25519Key
);
LAGER_QT_READER
(
QString
,
curve25519Key
);
LAGER_QT_READER
(
QString
,
displayName
);
LAGER_QT_READER
(
QString
,
trustLevel
);
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Apr 24, 4:25 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
90370
Default Alt Text
matrix-device.hpp (865 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment