blob: caf5cda7180ffaa748f96ec160fc9d1c26ebfdff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#pragma once
#include "jsonc_utils.hpp"
class interrupt_t
{
private:
std::string type_;
json_object* args_;
public:
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;
explicit interrupt_t(json_object* o);
interrupt_t& operator<<(json_object* o);
std::string type() const;
json_object* args() const;
void type(std::string v);
void args(json_object* v);
};
|