Files
MuditaOS/module-db/queries/multimedia_files/QueryMultimediaFilesGet.cpp
Alek Rudnik c9a41b4477 [EGD-7335] Integartion of file indexer with database
Integrated core file indexer with its database.
Modfied necessary queries.
Moved service file indexer to pure product specific
folder
2021-09-10 10:59:40 +02:00

37 lines
919 B
C++

// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#include "QueryMultimediaFilesGet.hpp"
namespace db::multimedia_files::query
{
Get::Get(uint32_t id) : Query(Query::Type::Read), id(id)
{}
auto Get::debugInfo() const -> std::string
{
return std::string{"Get"};
}
GetByPath::GetByPath(const std::string &path) : Query(Query::Type::Read), path(path)
{}
auto GetByPath::debugInfo() const -> std::string
{
return std::string{"GetByPath"};
}
GetResult::GetResult(const MultimediaFilesRecord &record) : record(record)
{}
auto GetResult::getResult() const -> MultimediaFilesRecord
{
return record;
}
auto GetResult::debugInfo() const -> std::string
{
return std::string{"GetResult"};
}
} // namespace db::multimedia_files::query