diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-08-30 18:00:16 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-08-30 18:00:16 +0200 |
commit | 35935c0f0087eefa9b8e84152cecb92060ba65ec (patch) | |
tree | 23503b7b441bba4334728a6c75d91088b9fd453e /inc | |
parent | 5fc3f57be241030651f7c2417951aff37f1e12d8 (diff) | |
download | abrt-35935c0f0087eefa9b8e84152cecb92060ba65ec.tar.gz abrt-35935c0f0087eefa9b8e84152cecb92060ba65ec.tar.xz abrt-35935c0f0087eefa9b8e84152cecb92060ba65ec.zip |
preparatory change for hooklib.cpp -> hooklib.c conversion
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'inc')
-rw-r--r-- | inc/debug_dump.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/inc/debug_dump.h b/inc/debug_dump.h index 1222a1cb..2e04d780 100644 --- a/inc/debug_dump.h +++ b/inc/debug_dump.h @@ -22,6 +22,8 @@ #ifndef DEBUGDUMP_H_ #define DEBUGDUMP_H_ +#ifdef __cplusplus + #include <string> class CDebugDump @@ -60,10 +62,21 @@ class CDebugDump const char *Directory() const { return m_sDebugDumpDir.c_str(); } }; +#endif /* __cplusplus */ + + +#ifdef __cplusplus +extern "C" { +#endif + /** * Deletes particular debugdump directory. * @param pDebugDumpDir A debugdump directory. */ void delete_debug_dump_dir(const char *pDebugDumpDir); +#ifdef __cplusplus +} +#endif + #endif |