1
0
forked from blue/pica
pica/handler/deleteasset.h

22 lines
398 B
C
Raw Permalink Normal View History

2024-01-21 19:23:48 +00:00
//SPDX-FileCopyrightText: 2024 Yury Gubich <blue@macaw.me>
//SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <memory>
#include "handler.h"
class Server;
namespace Handler {
class DeleteAsset : public Handler {
public:
2024-01-22 18:21:55 +00:00
DeleteAsset (const std::shared_ptr<Server>& server);
2024-01-21 19:23:48 +00:00
virtual void handle (Request& request) override;
private:
std::weak_ptr<Server> server;
};
}