Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7889697
clientfwd.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
clientfwd.hpp
View Options
/*
* Copyright (C) 2020 Tusooa Zhu
*
* This file is part of libkazv.
*
* libkazv is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* libkazv is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with libkazv. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#include
<tuple>
#include
<variant>
#include
<lager/context.hpp>
#include
"error.hpp"
#include
"room/room-model.hpp"
namespace
Kazv
{
class
JobInterface
;
class
EventInterface
;
struct
LoginAction
;
struct
TokenLoginAction
;
struct
LogoutAction
;
struct
SyncAction
;
struct
PaginateTimelineAction
;
struct
SendMessageAction
;
struct
SendStateEventAction
;
struct
CreateRoomAction
;
struct
GetRoomStatesAction
;
struct
InviteToRoomAction
;
struct
JoinRoomByIdAction
;
struct
EmitKazvEventsAction
;
struct
JoinRoomAction
;
struct
ProcessResponseAction
;
struct
SetTypingAction
;
struct
ClientModel
;
using
ClientAction
=
std
::
variant
<
LoginAction
,
TokenLoginAction
,
LogoutAction
,
SyncAction
,
Error
::
Action
,
PaginateTimelineAction
,
SendMessageAction
,
SendStateEventAction
,
CreateRoomAction
,
GetRoomStatesAction
,
InviteToRoomAction
,
JoinRoomByIdAction
,
RoomListAction
,
JoinRoomAction
,
ProcessResponseAction
,
SetTypingAction
>
;
using
ClientEffect
=
lager
::
effect
<
ClientAction
,
lager
::
deps
<>>
;
using
ClientResult
=
std
::
pair
<
ClientModel
,
ClientEffect
>
;
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Thu, Oct 2, 2:41 AM (23 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
476911
Default Alt Text
clientfwd.hpp (1 KB)
Attached To
Mode
rL libkazv
Attached
Detach File
Event Timeline
Log In to Comment