Add a FileManager to FetchContext.

This commit is contained in:
Ms2ger 2016-10-13 13:45:36 +02:00
parent d820387758
commit fc68e0a6ca
4 changed files with 66 additions and 38 deletions

View file

@ -10,9 +10,9 @@ use std::fs::File;
use std::io::Read;
use std::path::PathBuf;
const TEST_PROVIDER: &'static TestProvider = &TestProvider;
pub const TEST_PROVIDER: &'static TestProvider = &TestProvider;
struct TestProvider;
pub struct TestProvider;
impl UIProvider for TestProvider {
fn open_file_dialog(&self, _path: &str, _patterns: Vec<FilterPattern>) -> Option<String> {