mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
'v3.6.4.2'
This commit is contained in:
@@ -56,7 +56,7 @@ public class Xow_file_mgr implements Gfo_invk {
|
||||
public void Version_1_y_() {version = Version_1;} // TEST:
|
||||
public void Version_2_y_() {version = Version_2;} // TEST:
|
||||
public void Fsdb_mgr_(Xof_fsdb_mgr fsdb_mgr) {
|
||||
this.fsdb_mgr = fsdb_mgr;
|
||||
this.fsdb_mgr = fsdb_mgr;
|
||||
version = Version_2;
|
||||
}
|
||||
public int Patch_upright() {
|
||||
@@ -131,6 +131,10 @@ public class Xow_file_mgr implements Gfo_invk {
|
||||
orig_mgr.Init_by_wiki(wiki, fsdb_mode, db_core.File__orig_tbl_ary(), Xof_url_bldr.new_v2());
|
||||
fsdb_mgr.Init_by_wiki(wiki);
|
||||
}
|
||||
public void Rls() {
|
||||
fsdb_mgr.Rls();
|
||||
db_core = null;
|
||||
}
|
||||
|
||||
public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) {
|
||||
if (ctx.Match(k, Invk_repos)) return repo_mgr;
|
||||
|
||||
@@ -54,6 +54,9 @@ public class Xof_bin_mgr {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
public void Rls() {
|
||||
mnt_mgr.Rls();
|
||||
}
|
||||
public boolean Find_to_url_as_bool(int exec_tid, Xof_fsdb_itm fsdb) {return Find_as(Bool_.Y, rdr_wrapper, exec_tid, fsdb);}
|
||||
// public boolean Find_to_url_as_bool3(int exec_tid, Xof_fsdb_itm fsdb) {return Find_to_url(exec_tid, fsdb) != Io_url_.Empty;}
|
||||
// private Io_url Find_to_url(int exec_tid, Xof_fsdb_itm fsdb) {
|
||||
|
||||
@@ -23,4 +23,5 @@ public interface Xof_fsdb_mgr {
|
||||
Fsm_mnt_mgr Mnt_mgr();
|
||||
void Init_by_wiki(Xow_wiki wiki);
|
||||
void Fsdb_search_by_list(List_adp itms, Xow_wiki wiki, Xoa_page page, Xog_js_wkr js_wkr);
|
||||
void Rls();
|
||||
}
|
||||
|
||||
@@ -62,6 +62,10 @@ public class Xof_fsdb_mgr__sql implements Xof_fsdb_mgr, Gfo_invk {
|
||||
Xof_file_wkr.Show_img(fsdb, usr_dlg, wiki.File__bin_mgr(), wiki.File__mnt_mgr(), cache_mgr, wiki.File__repo_mgr(), js_wkr, img_size, url_bldr, page);
|
||||
}
|
||||
}
|
||||
public void Rls() {
|
||||
if (bin_mgr != null) bin_mgr.Rls();
|
||||
init = false;
|
||||
}
|
||||
public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) {
|
||||
if (ctx.Match(k, Invk_mnt_mgr)) return mnt_mgr;
|
||||
else return Gfo_invk_.Rv_unhandled;
|
||||
|
||||
Reference in New Issue
Block a user