tycho: organize better

master
an 2019-06-17 07:15:26 -04:00
parent c2339138a8
commit e64f652281
7 changed files with 14 additions and 14 deletions

View File

@ -2,8 +2,8 @@
"cppFile": "",
"rust": {
"dir": "",
"interfaceModule": "qintr",
"implementationModule": "qimpl"
"interfaceModule": "ffi",
"implementationModule": "gui"
},
"objects": {
"MapModel": {

View File

@ -21,7 +21,7 @@ ProjectModel::ProjectModel(ProjectModel &&o) :
ProjectModel::~ProjectModel()
{
switch(modelType) {
case Map: delete modelMap;
case Map: delete modelMap; break;
}
}

View File

@ -0,0 +1,8 @@
//! GUI implementation.
mod ffi;
mod map;
pub use self::map::MapModel;
// EOF

View File

@ -4,6 +4,6 @@
use maraiah::ffi as libc;
include!(concat!(env!("OUT_DIR"), "/src/qintr.rs"));
include!(concat!(env!("OUT_DIR"), "/src/ffi.rs"));
// EOF

View File

@ -1,6 +1,6 @@
//! Map model.
use crate::qintr::*;
use super::ffi::*;
//use memmap::Mmap;
use maraiah::map;

View File

@ -1,8 +1,7 @@
use maraiah::{err::*, ffi};
mod gui;
mod meta;
mod qimpl;
mod qintr;
extern "C" {
fn main_cc(app_name: *mut ffi::c_char);

View File

@ -1,7 +0,0 @@
//! Qt implementation.
mod map;
pub use self::map::*;
// EOF