MōBrowser 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 MOBROWSER_DELEGATE_ACTION_HPP
6#define MOBROWSER_DELEGATE_ACTION_HPP
7
8#include <memory>
9#include <string>
10
11#include "mobrowser/base/internal/callback.hpp"
12
13namespace mobrowser {
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 mobrowser
28
29#endif // MOBROWSER_DELEGATE_ACTION_HPP
The base API that implements classes which represent delegate's action.
Definition delegate_action.hpp:18