Debian Codegraph @

gui/GraphLib/libsrc/uimxR5/include/method.h

raw
1 /* @(#)method.h 17.1 (ESO-IPG) 01/25/02 17:26:04 */
2 /*---------------------------------------------------------------------
3 * $Date: 2003-06-04 14:49:18 $ $Revision: 1.1.1.1 $
4 *---------------------------------------------------------------------
5 *
6 *
7 * Copyright (c) 1992, Visual Edge Software Ltd.
8 *
9 * ALL RIGHTS RESERVED. Permission to use, copy, modify, and
10 * distribute this software and its documentation for any purpose
11 * and without fee is hereby granted, provided that the above
12 * copyright notice appear in all copies and that both that
13 * copyright notice and this permission notice appear in supporting
14 * documentation, and that the name of Visual Edge Software not be
15 * used in advertising or publicity pertaining to distribution of
16 * the software without specific, written prior permission. The year
17 * included in the notice is the year of the creation of the work.
18 *-------------------------------------------------------------------*/
19 /*------------------------------------------------------------------------
20 * method.h
21 * -----------
22 * Virtual method dispatcher for design- and run-time.
23 *------------------------------------------------------------------------*/
24
25 #ifndef UXMETHOD
26 #define UXMETHOD
27
28 #include "uxproto.h"
29
30 #ifdef __cplusplus
31 extern "C" {
32 #endif /* __cplusplus */
33
34
35 void* UxMethodLookup UXPROTO((swidget, int mid, char* mname));
36 int UxNewClassId UXPROTO((void));
37 int UxMessageIndex UXPROTO((char*));
38 int UxMethodRegister UXPROTO((int cid, char *name, void (*function)()));
39 int UxGetClassCode UXPROTO((swidget));
40
41 #ifdef __cplusplus
42 } /* Close scope of 'extern "C"' declaration which encloses file. */
43 #endif /* __cplusplus */
44
45
46 #endif