summaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/app.rs b/src/app.rs
index f9722ee..dce98c0 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -1,30 +1,31 @@
/*
- Copyright 2023 Gabriel Bjørnager Jensen.
+ Copyright 2023-2024 Gabriel Bjørnager Jensen.
- This file is part of AAS.
+ This file is part of eAS.
- AAS is free software: you can redistribute it
+ eAS is free software: you can redistribute it
and/or modify it under the terms of the GNU
General Public License as published by the Free
Software Foundation, either version 3 of the
License, or (at your option) any later version.
- AAS is distributed in the hope that it will
+ eAS is distributed in the hope that it will
be useful, but WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU
- General Public License along with AAS. If not,
+ General Public License along with eAS. If not,
see <https://www.gnu.org/licenses/>.
*/
-use crate::cpu::Cpu;
+use crate::processor::Processor;
+use crate::encoding::Encoding;
use crate::format::Format;
-mod init;
mod main;
+mod new;
mod print_help;
mod print_version;
mod run;
@@ -33,6 +34,7 @@ pub struct App {
input: String,
output: String,
- cpu: Cpu,
- format: Format,
+ encoding: Encoding,
+ processor: Processor,
+ format: Format,
}