summaryrefslogtreecommitdiffstats
path: root/src/icon/mod.rs
blob: 795d1d8a4e35ec52af6989a9eba5b0bebeb5481c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod icon_plugin;
mod vscode;

pub use {
    icon_plugin::IconPlugin,
};

pub fn icon_plugin(icon_set: &str) -> Option<Box<dyn IconPlugin + Send + Sync>> {
    match icon_set {
        "vscode" => Some(Box::new(vscode::VsCodeIconPlugin::new())),
        _ => None,
    }
}