Trait kplayer_rust_wrap::kplayer::plugin::BasePlugin[][src]

pub trait BasePlugin {
    fn get_name(&self) -> String;
fn get_author(&self) -> String;
fn get_args(&self) -> Vec<String>;
fn get_filter_name(&self) -> String;
fn get_media_type(&self) -> MediaType;
fn validate_user_args(
        &self,
        args: &Vec<String>
    ) -> Result<bool, &'static str>; fn print_log(&self, level: PrintLogLevel, log: &str) { ... }
fn register_task(&self) -> Vec<Timer> { ... }
fn register_message_keys(&self) -> Vec<EventMessageAction> { ... }
fn execute_task(&mut self, _tid: u32) { ... }
fn execute_message(&mut self, action: i32, body: String) { ... } }

Required methods

Provided methods

Implementors