diff options
author | Gerald Combs <gerald@wireshark.org> | 2011-12-29 00:08:47 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2011-12-29 00:08:47 +0000 |
commit | 6b178bd41548b561913be45a6ee649a497ec5d1f (patch) | |
tree | 81727fd787260953b047a6b711a1ebb3a6946684 /progress_dlg.h | |
parent | cb9725ce2beefe34c08dc954ff2a9c51c6a7e3bd (diff) |
Add 'extern "C"' wrappers and #include guards to various header files.
svn path=/trunk/; revision=40321
Diffstat (limited to 'progress_dlg.h')
-rw-r--r-- | progress_dlg.h | 10 |
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__ */ |