mirror of https://github.com/FreeRDP/FreeRDP
[settings] add c++ guards
This commit is contained in:
parent
dd56308bde
commit
7b043aed39
|
@ -23,6 +23,11 @@
|
||||||
|
|
||||||
#include <freerdp/api.h>
|
#include <freerdp/api.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
@SETTINGS_KEYS_BOOL@
|
@SETTINGS_KEYS_BOOL@
|
||||||
|
@ -71,4 +76,8 @@ typedef enum
|
||||||
|
|
||||||
#define FreeRDP_Settings_StableAPI_MAX 5312
|
#define FreeRDP_Settings_StableAPI_MAX 5312
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* FREERDP_SETTINGS_KEYS_H */
|
#endif /* FREERDP_SETTINGS_KEYS_H */
|
||||||
|
|
|
@ -32,6 +32,11 @@
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef FREERDP_SETTINGS_INTERNAL_USE
|
#ifndef FREERDP_SETTINGS_INTERNAL_USE
|
||||||
#define SETTINGS_DEPRECATED(x) WINPR_DEPRECATED(x)
|
#define SETTINGS_DEPRECATED(x) WINPR_DEPRECATED(x)
|
||||||
#else
|
#else
|
||||||
|
@ -791,4 +796,8 @@ struct rdp_settings
|
||||||
*/
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* FREERDP_SETTINGS_TYPES_PRIVATE_H */
|
#endif /* FREERDP_SETTINGS_TYPES_PRIVATE_H */
|
||||||
|
|
Loading…
Reference in New Issue