summaryrefslogtreecommitdiffstats
path: root/ahl-binding/interrupt.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ahl-binding/interrupt.hpp')
-rw-r--r--ahl-binding/interrupt.hpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/ahl-binding/interrupt.hpp b/ahl-binding/interrupt.hpp
index c123699..d0caf79 100644
--- a/ahl-binding/interrupt.hpp
+++ b/ahl-binding/interrupt.hpp
@@ -11,27 +11,27 @@ class role_t;
class interrupt_t
{
private:
- std::string type_;
- json_object* args_;
- std::vector<std::tuple<std::string, uint32_t>> applied_on_;
+ std::string type_;
+ json_object* args_;
+ std::vector<std::tuple<std::string, uint32_t>> applied_on_;
public:
- explicit interrupt_t() = default;
- explicit interrupt_t(const interrupt_t&) = default;
- explicit interrupt_t(interrupt_t&&) = default;
- ~interrupt_t() = default;
+ explicit interrupt_t() = default;
+ explicit interrupt_t(const interrupt_t&) = default;
+ explicit interrupt_t(interrupt_t&&) = default;
+ ~interrupt_t() = default;
- interrupt_t& operator=(const interrupt_t&) = default;
- interrupt_t& operator=(interrupt_t&&) = default;
+ interrupt_t& operator=(const interrupt_t&) = default;
+ interrupt_t& operator=(interrupt_t&&) = default;
- explicit interrupt_t(json_object* o);
- interrupt_t& operator<<(json_object* o);
+ explicit interrupt_t(json_object* o);
+ interrupt_t& operator<<(json_object* o);
- std::string type() const;
- json_object* args() const;
+ std::string type() const;
+ json_object* args() const;
- void type(std::string v);
- void args(json_object* v);
- int apply(afb_req_t req, const role_t& role);
- void clear();
+ void type(std::string v);
+ void args(json_object* v);
+ int apply(afb_req_t req, const role_t& role);
+ void clear();
};