/* Copyright 1990-1992 Laboratoire de Recherche en Informatique (LRI)Permission to use, copy, and modify this software and its documentationfor your own purposes is hereby granted without fee, provided thatthe above copyright notice appear in all copies and that both thatcopyright notice and this permission notice appear in supportingdocumentation, and use acknowledge that the software was developedby Laboratoire de Recherche en Informatique, Universite de Paris-Sud,Orsay, France. LRI makes no representations about the suitability ofthis software for any purpose.  It is provided "as is" without expressor implied warranty.This software or modified versions of this software cannot bedistributed in source or binary form, nor included into productswithout prior written permission of the author.LRI DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALLIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL LRI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 TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.Author:   ___    0  Thomas Baudel                 e-mail: thomas@lri.fr  /   \  /   LRI - Bat 490 /  __/ /    Universite de Paris-Sud       voice : +33 (1) 69 41 69 10/__   \/     91 405 ORSAY Cedex - FRANCE   fax   : +33 (1) 69 41 65 86*//*    	Simple interface to Rubine's stuff for the mac	Thomas Baudel                     thomas@dgp.toronto.edu									  thomas@lri.lri.fr	Thursday, July 18, 1991 3:47:10 PM*/#ifndef _EVENTS_#include <events.h>#endif#ifndef _QUICKDRAW_#include <quickdraw.h>#endiftypedef struct gestdescr {	char* Name;	Rect Extent;	Point Begin;	Point End;	Ptr Class;        /* in fact an sClassDope */	Ptr GestStruct;   /* in fact the GestStructure (see below) */} GestDescription;typedef struct geststruct {	char Name[255]; 	Ptr Class;        /* in fact an sClassifier */	Ptr Fv;           /* in fact an FV */	Handle CallBacks; /* void (*CallBacks) (GestDescription*)[]; */    void (*Hook) (struct geststruct*, int, Point*);  /* Hook function that does the tracking *//* parameters for default Hook function (we don't want any globals,	to be able to use the library in a XCMD */	PenState oldmode;	PolyHandle poly;} GestStructure;GestStructure* GestInitialize (char*);void GestClose (GestStructure*);void GestSetHook (GestStructure*, void (*) (GestStructure*, int, Point*));int GestAssociate (GestStructure*, char*, void (*) (GestDescription*));void GestTrack (GestStructure*, EventRecord*);
