/* @(#)method.h 17.1.1.1 (ESO-IPG) 01/25/02 17:26:21 */ /*--------------------------------------------------------------------- * $Date: 93/07/12 17:31:38 $ $Revision: 2.5.6.1 $ *--------------------------------------------------------------------- * * * Copyright (c) 1992, Visual Edge Software Ltd. * * ALL RIGHTS RESERVED. 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 * copyright notice and this permission notice appear in supporting * documentation, and that the name of Visual Edge Software not be * used in advertising or publicity pertaining to distribution of * the software without specific, written prior permission. The year * included in the notice is the year of the creation of the work. *-------------------------------------------------------------------*/ /*------------------------------------------------------------------------ * method.h * ----------- * Virtual method dispatcher for design- and run-time. *------------------------------------------------------------------------*/ #ifndef UXMETHOD #define UXMETHOD #include "uxproto.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ void* UxMethodLookup UXPROTO((swidget, int mid, char* mname)); int UxNewClassId UXPROTO((void)); int UxMessageIndex UXPROTO((char*)); int UxMethodRegister UXPROTO((int cid, char *name, void (*function)())); int UxGetClassCode UXPROTO((swidget)); #ifdef __cplusplus } /* Close scope of 'extern "C"' declaration which encloses file. */ #endif /* __cplusplus */ #endif