use crate::Error;
use crate::types::{ChordRepresentation, SimpleChord};
pub trait FormatHTML {
fn format_html(
&self,
key: Option<&SimpleChord>,
representation: Option<&ChordRepresentation>,
language: Option<usize>,
scale: Option<f32>,
) -> Result<String, Error>;
fn format_html_page(
&self,
key: Option<&SimpleChord>,
representation: Option<&ChordRepresentation>,
language: Option<usize>,
scale: Option<f32>,
) -> Result<(String, String), Error>;
fn format_html_sections(
&self,
key: Option<&SimpleChord>,
representation: Option<&ChordRepresentation>,
language: Option<usize>,
scale: Option<f32>,
) -> Result<(Vec<String>, String), Error>;
}