Move Sheet and Composer to separate code file

This commit is contained in:
2024-02-02 16:36:29 +01:00
parent 3f7b45efda
commit 0addc7c4b9
3 changed files with 44 additions and 44 deletions

View File

@@ -1,8 +1,9 @@
mod database;
mod mcdu;
mod sheet;
mod sheet_listing;
use std::{env, path::PathBuf, process};
use std::{path::PathBuf, process};
use clap::Parser;
use database::Database;
@@ -13,8 +14,6 @@ use mcdu::McduModel;
use relm4::prelude::*;
use sheet_listing::{SheetListingInput, SheetListingModel};
use crate::database::Sheet;
struct AppModel {
mcdu: Controller<McduModel>,
sheet_listing: Controller<SheetListingModel>,