~ubuntu-branches/ubuntu/lucid/cameleon/lucid

« back to all changes in this revision

Viewing changes to zoggy/zoggy.mli

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2006-09-11 12:24:24 UTC
  • mfrom: (3.1.5 edgy)
  • Revision ID: james.westby@ubuntu.com-20060911122424-2i0y2od8gp8iuig6
Tags: 1.9.13-2
* Added checkocaml.dpatch in order to be able to build on architectures
  without ocamlopt, closes: #373830.
* Removed control.in as per new ocaml policy.
* Added myself to uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
(**************************************************************************)
2
 
(*                   Cameleon                                             *)
3
 
(*                                                                        *)
4
 
(*      Copyright (C) 2002 Institut National de Recherche en Informatique et   *)
5
 
(*      en Automatique. All rights reserved.                              *)
6
 
(*                                                                        *)
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.                                                *)
11
 
(*                                                                        *)
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.                      *)
16
 
(*                                                                        *)
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          *)
20
 
(*      02111-1307  USA                                                   *)
21
 
(*                                                                        *)
22
 
(*      Contact: Maxence.Guesdon@inria.fr                                *)
23
 
(**************************************************************************)
24
 
 
25
 
(** Interface to include Zoggy in other apps. *)
26
 
 
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 -> 
31
 
  object
32
 
    (** The box, to pack it in something. *)
33
 
    method box : GPack.box
34
 
 
35
 
    (** The method to call to close the app.*)
36
 
    method close : unit
37
 
 
38
 
    (** The method to call to reload the information from the file.*)
39
 
    method reload : unit
40
 
 
41
 
    (** The method to call to save the information in the file.*)
42
 
    method save : unit
43
 
 
44
 
    (** Indicate whether the description has changed, 
45
 
       i.e. if the file must be saved. *)
46
 
    method changed : bool
47
 
 
48
 
    (** To perform some initializations with a window. *)
49
 
    method init_window : GWindow.window -> unit
50
 
  end