From d577d991b97ae2b5ee1af23641bcffc3f83af5b2 Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 4 Nov 2009 11:56:41 -0800 Subject: Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux. --- iup/src/iup_register.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100755 iup/src/iup_register.h (limited to 'iup/src/iup_register.h') diff --git a/iup/src/iup_register.h b/iup/src/iup_register.h new file mode 100755 index 0000000..b5e6907 --- /dev/null +++ b/iup/src/iup_register.h @@ -0,0 +1,47 @@ +/** \file + * \brief Register the Controls + * + * See Copyright Notice in "iup.h" + */ + +#ifndef __IUP_REGISTER_H +#define __IUP_REGISTER_H + +#ifdef __cplusplus +extern "C" { +#endif + + +/** \defgroup register Class Registration + * \par + * All controls are registered so the creation using IupCreate can work. + * \par + * See \ref iup_register.h + * \ingroup cpi */ + + +/** Returns a class instance from a class name. The class name must be previously registered using \ref iupRegisterClass. + * \ingroup register */ +Iclass* iupRegisterFindClass(const char* name); + +/** Register a class. + * \ingroup register */ +void iupRegisterClass(Iclass* ic); + + +/* Register the internal classes. Called only from IupOpen. */ +void iupRegisterInternalClasses(void); + +/* Initializes the class registry. Called only from IupOpen. */ +void iupRegisterInit(void); +void iupRegisterFinish(void); + +/* Get the registered classes. Used in documentation tests. */ +int iupRegisterGetClasses(char *list[], int n); + + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3