1
(**************************************************************************)
4
(* Copyright (C) 2002 Institut National de Recherche en Informatique et *)
5
(* en Automatique. All rights reserved. *)
7
(* This program is free software; you can redistribute it and/or modify *)
8
(* it under the terms of the GNU General Public License as published by *)
9
(* the Free Software Foundation; either version 2 of the License, or *)
10
(* any later version. *)
12
(* This program is distributed in the hope that it will be useful, *)
13
(* but WITHOUT ANY WARRANTY; without even the implied warranty of *)
14
(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *)
15
(* GNU General Public License for more details. *)
17
(* You should have received a copy of the GNU General Public License *)
18
(* along with this program; if not, write to the Free Software *)
19
(* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA *)
22
(* Contact: Maxence.Guesdon@inria.fr *)
23
(**************************************************************************)
25
(** Interface to include Zoggy in other apps. *)
27
(** This class takes a file name
28
and create an object which represents a zoggy app. The class
29
has some methods, in order to be used by Cameleon.*)
30
class zoggy_app : string ->
32
(** The box, to pack it in something. *)
33
method box : GPack.box
35
(** The method to call to close the app.*)
38
(** The method to call to reload the information from the file.*)
41
(** The method to call to save the information in the file.*)
44
(** Indicate whether the description has changed,
45
i.e. if the file must be saved. *)
48
(** To perform some initializations with a window. *)
49
method init_window : GWindow.window -> unit