2023-12-28 20:26:08 +00:00
|
|
|
// SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
|
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
|
|
|
|
#include "request/request.h"
|
|
|
|
|
|
|
|
class Accepting {
|
|
|
|
public:
|
2023-12-29 17:40:00 +00:00
|
|
|
virtual ~Accepting() {};
|
2023-12-28 20:26:08 +00:00
|
|
|
virtual void accept(std::unique_ptr<Request> request) = 0;
|
2023-12-29 17:40:00 +00:00
|
|
|
};
|