/*********************************************************
- * Copyright (c) 2020-2021 VMware, Inc. All rights reserved.
+ * Copyright (c) 2020-2021,2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* Public interface of the "gdp" plugin service.
*/
+/*
+ * glib-object.h should not be placed inside `extern "C"' blocks.
+ * However, this header is often placed inside such blocks.
+ * Here we change back into C++ for glib-object.h
+ */
+#ifdef __cplusplus
+extern "C++" {
+#endif
#include <glib-object.h>
+#ifdef __cplusplus
+}
+#endif
+
#include "vmware/tools/plugin.h"
/*
/*********************************************************
- * Copyright (c) 2020 VMware, Inc. All rights reserved.
+ * Copyright (c) 2020,2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* @{
*/
+/*
+ * glib-object.h should not be placed inside `extern "C"' blocks.
+ * However, this header is often placed inside such blocks.
+ * Here we change back into C++ for glib-object.h
+ */
+#ifdef __cplusplus
+extern "C++" {
+#endif
#include <glib-object.h>
+#ifdef __cplusplus
+}
+#endif
+
#include "vmware/tools/plugin.h"
/**
/*********************************************************
- * Copyright (C) 2008,2014-2016,2018-2020 VMware, Inc. All rights reserved.
+ * Copyright (C) 2008,2014-2016,2018-2020,2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* @{
*/
+/*
+ * glib.h should not be placed inside `extern "C"' blocks.
+ * However, this header is often placed inside such blocks.
+ * Here we change back into C++ for glib.h
+ */
+#ifdef __cplusplus
+extern "C++" {
+#endif
#include <glib.h>
+#ifdef __cplusplus
+}
+#endif
+
#include "vmware/tools/utils.h"
G_BEGIN_DECLS
/*********************************************************
- * Copyright (c) 2008-2020 VMware, Inc. All rights reserved.
+ * Copyright (c) 2008-2020,2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* @{
*/
+/*
+ * glib.h should not be placed inside `extern "C"' blocks.
+ * However, this header is often placed inside such blocks.
+ * Here we change back into C++ for glib.h
+ */
+#ifdef __cplusplus
+extern "C++" {
+#endif
#include <glib.h>
+#ifdef __cplusplus
+}
+#endif
+
#if defined(G_PLATFORM_WIN32)
# include <windows.h>
# include <objbase.h>
/*********************************************************
- * Copyright (C) 2010-2019 VMware, Inc. All rights reserved.
+ * Copyright (C) 2010-2019,2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
* thread.
*/
+/*
+ * glib-object.h should not be placed inside `extern "C"' blocks.
+ * However, this header is often placed inside such blocks.
+ * Here we change back into C++ for glib-object.h
+ */
+#ifdef __cplusplus
+extern "C++" {
+#endif
#include <glib-object.h>
+#ifdef __cplusplus
+}
+#endif
+
#include "vmware/tools/plugin.h"
#define TOOLS_CORE_PROP_TPOOL "tcs_prop_thread_pool"
/*********************************************************
- * Copyright (C) 2010-2016 VMware, Inc. All rights reserved.
+ * Copyright (C) 2010-2016,2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
*/
#include "guestCopyPaste.hh"
+#include <glib.h>
extern "C" {
- #include <glib.h>
-
#include "dndClipboard.h"
#include "debug.h"
}
/*********************************************************
- * Copyright (C) 2010-2017 VMware, Inc. All rights reserved.
+ * Copyright (C) 2010-2017,2023 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
*/
#include "guestCopyPaste.hh"
+#include <glib.h>
extern "C" {
- #include <glib.h>
-
#include "dndClipboard.h"
#include "debug.h"
#include "cpNameUtil.h"