mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-05 06:51:28 +03:00
plugin_framework, add event listening
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -60,6 +60,7 @@ pub struct Desc {
|
||||
github: String,
|
||||
location: Location,
|
||||
config: Config,
|
||||
listen_events: Vec<String>,
|
||||
}
|
||||
|
||||
impl Desc {
|
||||
@@ -115,4 +116,8 @@ impl Desc {
|
||||
pub fn config(&self) -> &Config {
|
||||
&self.config
|
||||
}
|
||||
|
||||
pub fn listen_events(&self) -> &Vec<String> {
|
||||
&self.listen_events
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user