summaryrefslogtreecommitdiff
path: root/iup/src/iup_strmessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'iup/src/iup_strmessage.h')
-rwxr-xr-xiup/src/iup_strmessage.h45
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