Molybden API
Loading...
Searching...
No Matches
delegate_action.hpp
1// Copyright (c) 2000-2024 TeamDev. All rights reserved.
2// TeamDev PROPRIETARY and CONFIDENTIAL.
3// Use is subject to license terms.
4
5#ifndef MOLYBDEN_DELEGATE_ACTION_HPP
6#define MOLYBDEN_DELEGATE_ACTION_HPP
7
8#include <memory>
9#include <string>
10
11#include "molybden/base/internal/callback.hpp"
12
13namespace molybden {
14
18class Action {
19 public:
20 Action() = default;
21 explicit Action(std::unique_ptr<rpc::internal::Callback> callback);
22
23 protected:
24 std::unique_ptr<rpc::internal::Callback> callback_;
25};
26
27} // namespace molybden
28
29#endif // MOLYBDEN_DELEGATE_ACTION_HPP
The base API that implements classes which represent delegate's action.
Definition delegate_action.hpp:18