mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
enshort namespace
This commit is contained in:
parent
2a7d7c5c46
commit
08db41b927
2 changed files with 5 additions and 5 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
|
|
||||||
pub struct Database {
|
pub struct Browser {
|
||||||
pub connection: Arc<sqlite::Connection>,
|
pub connection: Arc<sqlite::Connection>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Database {
|
impl Browser {
|
||||||
fn init(&self) {}
|
fn init(&self) {}
|
||||||
fn save(&self) {}
|
fn save(&self) {}
|
||||||
fn restore(&self) {}
|
fn restore(&self) {}
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
mod database;
|
mod db;
|
||||||
mod header;
|
mod header;
|
||||||
mod main;
|
mod main;
|
||||||
|
|
||||||
|
|
@ -11,7 +11,7 @@ use gtk::{
|
||||||
};
|
};
|
||||||
|
|
||||||
pub struct Browser {
|
pub struct Browser {
|
||||||
database: database::Database,
|
db: db::Browser,
|
||||||
pub widget: Arc<gtk::ApplicationWindow>,
|
pub widget: Arc<gtk::ApplicationWindow>,
|
||||||
pub header: Arc<header::Header>,
|
pub header: Arc<header::Header>,
|
||||||
pub main: Arc<main::Main>,
|
pub main: Arc<main::Main>,
|
||||||
|
|
@ -64,7 +64,7 @@ pub fn new(
|
||||||
|
|
||||||
// Done
|
// Done
|
||||||
Browser {
|
Browser {
|
||||||
database: database::Database { connection },
|
db: db::Browser { connection },
|
||||||
widget,
|
widget,
|
||||||
header,
|
header,
|
||||||
main,
|
main,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue