1
/*********************************************************
2
* Copyright (C) 2009 VMware, Inc. All rights reserved.
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.
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.
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.
17
*********************************************************/
19
#ifndef _DESKTOPEVENTSINT_H_
20
#define _DESKTOPEVENTSINT_H_
23
* @file destopEventsInt.h
25
* Internal plugin definitions.
28
#define VMW_TEXT_DOMAIN "desktopEvents"
29
#define G_LOG_DOMAIN VMW_TEXT_DOMAIN
30
#include "vmware/tools/plugin.h"
32
typedef struct DesktopEventFuncs {
33
gboolean (*initFn)(ToolsAppCtx *, ToolsPluginData *);
34
void (*shutdownFn)(ToolsAppCtx *ctx, ToolsPluginData *);
40
* This plugin's private data field is a GHashTable*. Each sub-feature may use
41
* that table to keep its own private state. The following key is reserved and
42
* points to the hosting application's ToolsAppCtx.
44
#define DE_PRIVATE_CTX "ctx"
48
* This platform-specific file defines the list of features available
49
* for the current platform being built.
51
#include "deFeatures.h"
53
#endif /* _DESKTOPEVENTSINT_H_ */