summaryrefslogtreecommitdiffstats
path: root/ahl-binding/role.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ahl-binding/role.hpp')
-rw-r--r--ahl-binding/role.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ahl-binding/role.hpp b/ahl-binding/role.hpp
index 5b3d6b1..fa1bcd4 100644
--- a/ahl-binding/role.hpp
+++ b/ahl-binding/role.hpp
@@ -17,7 +17,8 @@
* limitations under the License.
*/
-#include "jsonc_utils.hpp"
+#include <vector>
+#include "interrupt.hpp"
class role_t
{
@@ -28,6 +29,7 @@ private:
std::string stream_;
std::string device_uri_;
int priority_;
+ std::vector<interrupt_t> interrupts_;
public:
explicit role_t() = default;
@@ -50,6 +52,7 @@ public:
std::string stream() const;
int priority() const;
std::string device_uri() const;
+ const std::vector<interrupt_t>& interrupts() const;
void uid(std::string v);
void name(std::string v);