move slot mgr intoapp_state [refs #24]

This commit is contained in:
Thomas Weinhold 2026-01-16 22:55:46 +01:00
commit 849318578f
5 changed files with 4 additions and 4 deletions

View file

@ -11,10 +11,11 @@ use sslo_lib::sync::command::Commander;
use crate::db2;
use crate::db2::DatabaseManagerData;
use shutdown_control::ShutdownControl;
use crate::slot_mgr::SlotMgr;
use slot_mgr::SlotMgr;
use super::config::Config;
pub mod shutdown_control;
pub mod slot_mgr;
pub type AppState = SsloAppState<LeagueAppState>;

View file

@ -11,7 +11,7 @@ use crate::db2::DatabaseManager;
use crate::ndpc::coll_preset::CollPreset;
use crate::app_state::shutdown_control::ShutdownStatus;
use crate::ShutdownControl;
use crate::slot_mgr::slot_ctrl::SlotCtrl;
use crate::app_state::slot_mgr::slot_ctrl::SlotCtrl;
mod slot_ctrl;
mod ctrl_interface;

View file

@ -3,7 +3,7 @@ use std::net::{Ipv6Addr, SocketAddr};
use app_state::LeagueAppState;
use sslo_lib::chrono::{TimeDeltaPrecision, TimeFormat};
use app_state::shutdown_control::ShutdownControl;
use crate::slot_mgr::SlotMgr;
use app_state::slot_mgr::SlotMgr;
mod http;
mod config;
@ -11,7 +11,6 @@ mod app_state;
mod helpers;
mod db2;
mod thread_lobby;
mod slot_mgr;
mod installer;
mod user_grade;
mod ndpc;