Move roftl
to core
This commit is contained in:
parent
d7ed757120
commit
4f4e3ca217
3 changed files with 10 additions and 7 deletions
|
@ -1 +1,5 @@
|
|||
pub mod shared;
|
||||
pub mod roftl;
|
||||
|
||||
use super::matcher;
|
||||
use super::sources;
|
||||
|
|
|
@ -5,9 +5,9 @@ use rayon::prelude::*;
|
|||
|
||||
use super::matcher::PrefixMatcher;
|
||||
|
||||
use super::core::shared::Matcher;
|
||||
use super::core::shared::Source;
|
||||
use super::core::shared::Entry;
|
||||
use super::shared::Matcher;
|
||||
use super::shared::Source;
|
||||
use super::shared::Entry;
|
||||
|
||||
|
||||
pub type SourceRef = Box<dyn Source>;
|
|
@ -8,19 +8,18 @@ use winit::event::{ElementState, Event, KeyboardInput, VirtualKeyCode,
|
|||
|
||||
use crate::matcher::{FuseMatcher, PrefixMatcher};
|
||||
|
||||
mod roftl;
|
||||
use self::core::roftl::Roftl;
|
||||
|
||||
mod ui;
|
||||
mod sources;
|
||||
mod matcher;
|
||||
mod core;
|
||||
|
||||
use roftl::Roftl;
|
||||
|
||||
fn main() -> Result<(), Box<dyn Error>> {
|
||||
env_logger::init();
|
||||
|
||||
debug!{"Set up roftl"};
|
||||
let mut roftl = roftl::Roftl::new()
|
||||
let mut roftl = Roftl::new()
|
||||
.add_source(sources::TestSource::new("ts1"))
|
||||
.add_source(sources::Apps::new())
|
||||
.add_source(sources::ShellHost::new())
|
||||
|
|
Loading…
Reference in a new issue