| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | class type message_views_router = object |
| 12 | method route : int -> Wg_MessageView.message_view |
| 13 | method default_route : Wg_MessageView.message_view |
| 14 | |
| 15 | method select_all : unit -> unit |
| 16 | method has_selection : bool |
| 17 | method get_selected_text : string |
| 18 | |
| 19 | method register_route : int -> Wg_MessageView.message_view -> unit |
| 20 | method delete_route : int -> unit |
| 21 | end |
| 22 | |
| 23 | val message_views : |
| 24 | route_0:Wg_MessageView.message_view -> message_views_router |