open-vm-tools 11.1.5
desktopevents.h
Go to the documentation of this file.
1 /*********************************************************
2  * Copyright (C) 2009-2019 VMware, Inc. All rights reserved.
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU Lesser General Public License as published
6  * by the Free Software Foundation version 2.1 and no later version.
7  *
8  * This program is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
10  * or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public
11  * License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with this program; if not, write to the Free Software Foundation, Inc.,
15  * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
16  *
17  *********************************************************/
18 
19 #ifndef _DESKTOPEVENTS_H_
20 #define _DESKTOPEVENTS_H_
21 
39 #if defined(_WIN32)
40 
50 #define TOOLS_CORE_SIG_DESKTOP_SWITCH "tcs_desktop_switch"
51 
52 
57 #define DESKTOP_EVENTS_SHUTDOWN "VMdesktopEventsShutdownMsg"
58 
59 
64 #define DESKTOP_VM3DSERVICE_SHUTDOWN "VMdesktopEventsVM3DServiceShutdownMsg"
65 
66 #else // !WIN32
67 
75 #define TOOLS_CORE_SIG_XIOERROR "tcs_de_xioerror"
76 
88 #define TOOLS_CORE_SIG_XSM_SAVE_YOURSELF "tcs_de_xsm_save_yourself"
89 
97 #define TOOLS_CORE_SIG_XSM_DIE "tcs_de_xsm_die"
98 
106 #define TOOLS_CORE_SIG_XSM_SAVE_COMPLETE "tcs_de_xsm_save_complete"
107 
115 #define TOOLS_CORE_SIG_XSM_SHUTDOWN_CANCELLED "tcs_de_xsm_shutdown_cancelled"
116 
117 #endif // if defined(_WIN32)
118 
121 #endif /* _DESKTOPEVENTS_H_ */
122