Add todo module

This commit is contained in:
Matthias Beyer 2015-10-19 18:10:01 +02:00
parent 02029b9b26
commit 63daf452dc
1 changed files with 23 additions and 0 deletions

23
src/module/todo/mod.rs Normal file
View File

@ -0,0 +1,23 @@
use super::Module;
use std::path::Path;
pub struct TodoModule {
path: Option<String>,
}
impl Module for TodoModule {
fn new(rt : &Runtime) -> TodoModule {
TodoModule {
path: None
}
}
fn name(&self) -> String {
"Todo".to_string()
}
fn execute(&self, rt : &Runtime) -> Option<Error> {
( )
}
}