aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/component/console/output/console_output.rs
blob: 00b9324f473ef87ac6809a2961924099de1a2c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
use crate::symfony::component::console::formatter::OutputFormatter;
use crate::symfony::component::console::output::ConsoleOutputInterface;
use crate::symfony::component::console::output::OutputInterface;

#[derive(Debug)]
pub struct ConsoleOutput;

impl ConsoleOutput {
    pub fn new(
        _verbosity: i64,
        _decorated: Option<bool>,
        _formatter: Option<OutputFormatter>,
    ) -> Self {
        todo!()
    }
}

impl ConsoleOutputInterface for ConsoleOutput {
    fn get_error_output(&self) -> std::rc::Rc<std::cell::RefCell<dyn OutputInterface>> {
        todo!()
    }

    fn set_error_output(&mut self, _error: std::rc::Rc<std::cell::RefCell<dyn OutputInterface>>) {
        todo!()
    }
}

impl OutputInterface for ConsoleOutput {
    fn is_console_output_interface(&self) -> bool {
        true
    }

    fn as_console_output_interface(&self) -> Option<&dyn ConsoleOutputInterface> {
        Some(self)
    }

    fn write(&self, _messages: &str, _newline: bool, _type: i64) {
        todo!()
    }
    fn writeln(&self, _messages: &str, _type: i64) {
        todo!()
    }
    fn set_verbosity(&self, _level: i64) {
        todo!()
    }
    fn get_verbosity(&self) -> i64 {
        todo!()
    }
    fn is_quiet(&self) -> bool {
        todo!()
    }
    fn is_verbose(&self) -> bool {
        todo!()
    }
    fn is_very_verbose(&self) -> bool {
        todo!()
    }
    fn is_debug(&self) -> bool {
        todo!()
    }
    fn set_decorated(&self, _decorated: bool) {
        todo!()
    }
    fn is_decorated(&self) -> bool {
        todo!()
    }
    fn set_formatter(&self, _formatter: OutputFormatter) {
        todo!()
    }
    fn get_formatter(&self) -> &OutputFormatter {
        todo!()
    }
}