提交 7a460c3d authored 作者: blu's avatar blu

big refacting of communitation architect

上级 9e5ff5c2
...@@ -14,7 +14,7 @@ int CreateDirMon(monitor **m, string path, string ext, vector<string> &&events, ...@@ -14,7 +14,7 @@ int CreateDirMon(monitor **m, string path, string ext, vector<string> &&events,
{ {
vector<string> paths= {path}; vector<string> paths= {path};
vector<fsw_event_type_filter> event_filters = {{fsw_event_flag::Created}}; vector<fsw_event_type_filter> event_filters = {{fsw_event_flag::Created}};
vector<monitor_filter> flt = {{.text="*.mp4", .type=fsw_filter_type::filter_include, .case_sensitive = false, .extended=false}}; vector<monitor_filter> flt = {{.text=".*\.mp4", .type=fsw_filter_type::filter_include, .case_sensitive = false, .extended=false}};
*m = monitor_factory::create_monitor( *m = monitor_factory::create_monitor(
fsw_monitor_type::system_default_monitor_type, fsw_monitor_type::system_default_monitor_type,
paths, paths,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论