Page MenuHomePhorge

content.hpp
No OneTemporary

Size
796 B
Referenced Files
None
Subscribers
None

content.hpp

/*
* This file is part of libkazv.
* SPDX-FileCopyrightText: 2020 Tusooa Zhu <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
#pragma once
#include <libkazv-config.hpp>
#include "client-model.hpp"
#include "csapi/content-repo.hpp"
namespace Kazv
{
std::pair<std::string, std::string> mxcUriToMediaDesc(std::string mxcUri);
ClientResult updateClient(ClientModel m, UploadContentAction a);
ClientResult processResponse(ClientModel m, UploadContentResponse r);
ClientResult updateClient(ClientModel m, DownloadContentAction a);
ClientResult processResponse(ClientModel m, GetContentResponse r);
ClientResult updateClient(ClientModel m, DownloadThumbnailAction a);
ClientResult processResponse(ClientModel m, GetContentThumbnailResponse r);
}

File Metadata

Mime Type
text/x-c++
Expires
Sun, Jan 19, 6:52 PM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55296
Default Alt Text
content.hpp (796 B)

Event Timeline