diff options
author | Pixel <pixel@nobis-crew.org> | 2009-11-04 11:56:41 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-11-04 11:59:33 -0800 |
commit | d577d991b97ae2b5ee1af23641bcffc3f83af5b2 (patch) | |
tree | 590639d50205d1bcfaff2a7d2dc6ebf3f373c7ed /iup/src/iup_strmessage.h |
Initial import. Contains the im, cd and iup librairies, and a "working" Makefile for them under linux.
Diffstat (limited to 'iup/src/iup_strmessage.h')
-rwxr-xr-x | iup/src/iup_strmessage.h | 45 |
1 files changed, 45 insertions, 0 deletions
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 |