fleshing out the core a bit more

This commit is contained in:
Chris Cochrun 2024-10-06 05:51:39 -05:00
parent e05815e550
commit c8bb484a53
13 changed files with 497 additions and 9 deletions

View file

@ -1,14 +1,10 @@
use std::{error::Error, fmt::Display};
#[derive(Debug, Clone)]
pub enum PresKind {
Html,
Pdf,
Generic,
}
use crate::presentations::PresKind;
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub enum ServiceItemKind {
#[default]
Song,
Video,
Image,
@ -81,3 +77,11 @@ impl Display for ParseError {
write!(f, "Error: {message}")
}
}
#[cfg(test)]
mod test {
#[test]
pub fn test_kinds() {
assert_eq!(true, true)
}
}