aboutsummaryrefslogtreecommitdiffstats
path: root/progress_dlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'progress_dlg.h')
-rw-r--r--progress_dlg.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/progress_dlg.h b/progress_dlg.h
index 0f404c71d7..638c8a3cca 100644
--- a/progress_dlg.h
+++ b/progress_dlg.h
@@ -25,6 +25,10 @@
#ifndef __PROGRESS_DLG_H__
#define __PROGRESS_DLG_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
/** @file
* Progress (modal) dialog box routines.
* @ingroup dialog_group
@@ -56,7 +60,7 @@ progdlg_t *create_progress_dlg(const gchar *task_title, const gchar *item_title,
/**
* Create a progress dialog, but only if it's not likely to disappear
- * immediately. This can be disconcerting for the user.
+ * immediately. This can be disconcerting for the user.
*
* @param task_title the task to do, e.g. "Loading"
* @param item_title the item to do, e.g. "capture.cap"
@@ -91,4 +95,8 @@ void update_progress_dlg(progdlg_t *dlg, gfloat percentage, const gchar *status)
*/
void destroy_progress_dlg(progdlg_t *dlg);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __PROGRESS_DLG_H__ */