home *** CD-ROM | disk | FTP | other *** search
- /*
- * ------------------------------------------------------------------------
- * APPLICATION: [incr Tcl]
- * PURPOSE: object-oriented extensions to Tcl
- *
- * [incr tcl] provides object-oriented extensions to TCL, much as
- * C++ provides object-oriented extensions to C. It provides a means
- * of encapsulating related procedures together with their shared data
- * in a local namespace that is hidden from the outside world. It
- * promotes code re-use through inheritance. More than anything else,
- * it encourages better organization of Tcl applications through the
- * object-oriented paradigm, leading to code that is easier to
- * understand and maintain.
- *
- * ADDING [incr Tcl] TO A TCL-BASED APPLICATION:
- *
- * To add [incr Tcl] facilities to a Tcl application, modify the
- * Tcl_AppInit() routine as follows:
- *
- * 1) Include this header file near the top of the file containing
- * Tcl_AppInit():
- *
- * #include "itcl.h"
- *
- * 2) Within the body of Tcl_AppInit(), add the following lines:
- *
- * if (Itcl_Init(interp) == TCL_ERROR) {
- * return TCL_ERROR;
- * }
- *
- * 3) Link your application with libitcl.a
- *
- * NOTE: Example files "tclAppInit.c" and "tkAppInit.c" containing
- * the changes shown above above are included in this
- * distribution.
- *
- * ------------------------------------------------------------------------
- * AUTHOR: Michael J. McLennan Phone: (610)712-2842
- * AT&T Bell Laboratories E-mail: michael.mclennan@att.com
- *
- * RCS: itcl.h,v 1.1.1.1 1994/03/21 22:09:49 mmc Exp
- * ========================================================================
- * Copyright (c) 1993 AT&T Bell Laboratories
- * ========================================================================
- * Permission to use, copy, modify, and distribute this software and its
- * documentation for any purpose and without fee is hereby granted,
- * provided that the above copyright notice appear in all copies and that
- * both that the copyright notice and warranty disclaimer appear in
- * supporting documentation, and that the names of AT&T Bell Laboratories
- * any of their entities not be used in advertising or publicity
- * pertaining to distribution of the software without specific, written
- * prior permission.
- *
- * AT&T disclaims all warranties with regard to this software, including
- * all implied warranties of merchantability and fitness. In no event
- * shall AT&T be liable for any special, indirect or consequential
- * damages or any damages whatsoever resulting from loss of use, data or
- * profits, whether in an action of contract, negligence or other
- * tortuous action, arising out of or in connection with the use or
- * performance of this software.
- * ========================================================================
- */
- #ifndef ITCL_H
- #define ITCL_H
-
- #include "tcl.h"
-
- /*
- * FORWARD DECLARATIONS
- */
- EXTERN int Itcl_Init _ANSI_ARGS_((Tcl_Interp* interp));
-
- #endif
-