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_strmessage.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 iup/src/iup_strmessage.h (limited to 'iup/src/iup_strmessage.h') diff --git a/iup/src/iup_strmessage.h b/iup/src/iup_strmessage.h new file mode 100755 index 0000000..dbd0374 --- /dev/null +++ b/iup/src/iup_strmessage.h @@ -0,0 +1,45 @@ +/** \file + * \brief Language Dependent String Messages + * + * See Copyright Notice in "iup.h" + */ + + +#ifndef __IUP_STRMESSAGE_H +#define __IUP_STRMESSAGE_H + +#ifdef __cplusplus +extern "C" { +#endif + + +/** \defgroup strmessage Language Dependent String Messages + * \par + * String database that is dependend of the selected language. + * \par + * See \ref iup_strmessage.h + * \ingroup util */ + +/** Pre-defined dialog to show an error message. Based in IupMessageDlg. + * Message can be a registered coded message or a commom string. + * \ingroup strmessage */ +void iupStrMessageShowError(Ihandle* parent, const char* message); + +/** Returns a common string from a registered coded message. + * The returned string depends on the global LANGUAGE attribute. + * \ingroup strmessage */ +char* iupStrMessageGet(const char* message); + +/* Called from iup_global */ +void iupStrMessageUpdateLanguage(const char* language); + +/* called only in IupOpen and IupClose */ +void iupStrMessageInit(void); +void iupStrMessageFinish(void); + + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.3