File: gcache.mli

package info (click to toggle)
mmm 0.40-2
  • links: PTS
  • area: non-free
  • in suites: hamm, slink
  • size: 1,284 kB
  • ctags: 2,097
  • sloc: ml: 13,254; makefile: 262; perl: 68; sh: 39
file content (21 lines) | stat: -rw-r--r-- 624 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(* Cache by "widget unmapping"
 *  For each navigator, we keep the list of displayed documents
 *)

val debug : bool ref

val max_keep : int ref

val kill : int -> unit
  (* [kill hkey] destroy all widget cached for navigator [hkey]
     If in history mode, accordingly remove from Cache documents
     that are not shared with other navigator windows
   *)

val find : int -> Document.document_id -> Viewers.display_info
val add : int -> Document.document_id -> Viewers.display_info -> unit
val remove : int -> Document.document_id -> unit
val displace : int -> Document.document_id -> unit

val postmortem : unit -> unit