reactive_graph_sys_file_model/component/
fs_notify.rs

1use reactive_graph_behaviour_model_api::behaviour_ty;
2use reactive_graph_behaviour_model_api::component_behaviour_ty;
3use reactive_graph_graph::component_ty;
4use reactive_graph_reactive_model_api::entity_model;
5use reactive_graph_runtime_model::Action;
6
7use crate::NAMESPACE_FILE;
8
9component_ty!(COMPONENT_FS_NOTIFY, NAMESPACE_FILE, COMPONENT_NAME_FS_NOTIFY, "fs_notify");
10behaviour_ty!(BEHAVIOUR_FS_NOTIFY, NAMESPACE_FILE, BEHAVIOUR_NAME_FS_NOTIFY, "fs_notify");
11component_behaviour_ty!(COMPONENT_BEHAVIOUR_FS_NOTIFY, COMPONENT_FS_NOTIFY, BEHAVIOUR_FS_NOTIFY);
12
13entity_model!(FsNotify, get trigger bool, set filename string);
14impl Action for FsNotify {}